Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax Masterpage , +
Hi,
 
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.
 

Thanks,
Velkumar
Posted 5-Aug-12 19:32pm
Comments
Prabhakaran Soundarapandian at 6-Aug-12 0:50am
   
Can you post your scenario and the trigger actions of your update panel.
Prasad J at 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 at 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
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 105
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2014
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