Wednesday, March 28, 2012

Postback with MasterPage

hi all

i want to load other page with masterpage without postback

any one cane help me?

AOJ

Hi,

In my opinion, there is not elegant way to achieve this.

First of all, please note that MasterPage is quite different from a container (e.g.: frameset/iframe) in the client side's point of view. The client isn't aware of the existance of masterPage at all. Every actions fired by controls in the masterPage is the same as the one fired by control in a normal page.

So, if you'd like to implement this, what you need to do is to place a UpdatePanel on the masterPage, and load different controls into it programmatically. Then update the UpdatePanel.

No comments:

Post a Comment