currently i have created 3 usercontrol ( no master page is used at the moment )
1. header
2. body
3. footer
body section contains many updatepanels in it.
the problem is this when i postback from body updatepanel it refreshes complete page rather than only body web user control .... i have read ajax life cycle too for resolving this issue but havent reached any solution yet
sorry for such late reply .... because i got sick in past few days .....
thanks for the reply i have solved the issue ...the problem was
what i was doing wrong, i was also writing button1 as a trigger in nested update panel which was wrong after removing it from its trigger it started working fine
i have a question,
whats the difference in between asyncpostback and postback trigger ?? i am not able to understand it quite yet, could you please give me some reference link for understanding it
newbiefreak
Member
468 Points
214 Posts
Updatepanel and Web User Control ... no partialpostpack
Feb 25, 2012 11:16 AM|LINK
hi everyone,
currently i have created 3 usercontrol ( no master page is used at the moment )
1. header
2. body
3. footer
body section contains many updatepanels in it.
the problem is this when i postback from body updatepanel it refreshes complete page rather than only body web user control .... i have read ajax life cycle too for resolving this issue but havent reached any solution yet
also followed a good link http://encosia.com/are-you-making-these-3-common-aspnet-ajax-mistakes/ in which common mistake done by programmers done while using ajax updatepanel but i think i m not using in correct way of partial rendering on page
please guide me in resolving this problem
webusercontrol ajax updatepanel asp.net csharp
RichardY
Star
8376 Points
1573 Posts
Re: Updatepanel and Web User Control ... no partialpostpack
Feb 25, 2012 12:50 PM|LINK
Please post a sample of the relevent mark up.
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Updatepanel and Web User Control ... no partialpostpack
Feb 27, 2012 08:28 AM|LINK
Hi,
Please set UpdateMode="Conditional" . For more details, please refer to: http://msdn.microsoft.com/en-us/library/bb386454.aspx.
Feedback to us
Develop and promote your apps in Windows Store
newbiefreak
Member
468 Points
214 Posts
Re: Updatepanel and Web User Control ... no partialpostpack
Feb 28, 2012 01:01 PM|LINK
sorry for such late reply .... because i got sick in past few days .....
thanks for the reply i have solved the issue ...the problem was
what i was doing wrong, i was also writing button1 as a trigger in nested update panel which was wrong after removing it from its trigger it started working fine
i have a question,
whats the difference in between asyncpostback and postback trigger ?? i am not able to understand it quite yet, could you please give me some reference link for understanding it
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Updatepanel and Web User Control ... no partialpostpack
Feb 29, 2012 01:49 AM|LINK
Hi,
Please refer to: http://ramanisandeep.net/2009/04/07/asyncpostbacktrigger-vs-postbacktrigger/.
Feedback to us
Develop and promote your apps in Windows Store