Click here to Skip to main content
12,755,080 members (37,906 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax Masterpage , +

In master page I have 3 content placeholders left, right and bottom. The left and right content placeholders are placed in updatepanels. The right content placeholder is where the content page is displayed. The trigger for this right updatepanel is both left and right contentplaceholders.

My problem is if any asyn postback occurs in my aspx page, which is placed in right content placeholder the entire contentplaceholder or aspx page is refreshed. Ajax is not working in this situation.

If the right Contenplaceholder is removed from the trigger then it works fine.

How can i avoid this entire page refreshing.

Posted 5-Aug-12 19:32pm
Can you post your scenario and the trigger actions of your update panel.
Prasad J 6-Aug-12 1:03am
Instead of placing the entire ContentPlaceholder within UpdatePanel,
it will be better that you can place the UpdatePanel within each contentPages where actually needs the AJAX postback.
Mr.Sourav.Maitra 6-Aug-12 1:53am
Pasad J is right. No need to put the entire contentplaceholder in Update Panel

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100