enablepartialrendering property to false for content page

Posted by Sudhak under ASP.NET AJAX on 10/25/2012 | Points: 10 | Views : 4640 | Status : [Member] | Replies : 3
Dear All,


I have a master page which is used for all the pages.

I have to make enablepartialrendering=false for only one content page.

Please suggest one solution.


Regards,
Sudha




Responses

Posted by: Seng2hs on: 10/25/2012 [Member] Starter | Points: 25

Up
0
Down
Disabling Partial-Page Updates for a Content Page
If you add a ScriptManager control to a master page, by default partial-page updates are enabled for all content pages. If do not want to enable partial updates for an individual content page, you can disable that capability. You might do this is if your content page contains custom controls that are not compatible with partial-page updates.

To disable partial-page updates for a content page
1.In the content page, create a handler for the page's Init event that sets the ScriptManager control's EnablePartialRendering property to false.

You must change the state of the EnablePartialRendering property during or before the content page's Init event.



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

Posted by: Sudhak on: 10/25/2012 [Member] Starter | Points: 25

Up
0
Down
thanks Seng2hs.

I will try that in the page

Regards,
Sudha

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

Posted by: Seng2hs on: 10/25/2012 [Member] Starter | Points: 25

Up
0
Down
Please mark as Answered, if it really solved your problem

Thanks

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

Login to post response