Query regarding masterpage loading

Posted by Nishithraj under Regular Expressions on 2/25/2010 | Views : 1165 | Status : [Member] | Replies : 3
Whether the master page loads entire page whenever the content is changed or only that part is changed?

If it is not loaded fully where the data is stored??

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan



Responses

Posted by: Abhi2434 on: 2/25/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
While rendering everything is processed sequentially. Means it will render the page when it finds contentPlaceholder.

So the Response object as well as Thread to the engine is same.
You can say the Contentpages are objects of the MasterPage Class.

www.abhisheksur.com

Nishithraj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nishithraj on: 2/25/2010 [Member] Bronze

Up
0
Down
So, following is my understanding as per your comments

The whole page including masterpage items are loaded for every request.

Actually, in that case it will affect the performance of the site right?

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Nishithraj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhi2434 on: 2/25/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Yes....

No it will not. Think it as separate page. Masterpage is nothing but a Page which holds UserControls

www.abhisheksur.com

Nishithraj, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response