1. UpdatePanel is not working with MultiView control. (next and previous button inside the view are not working)
2.UpdatePanel is not woking on a panel control in which i m generating LinkButtons at run time.
You need to add a trigger for the update panel when its update mode is set to conditional. Otherwise, content will refresh for any partial postback automatically. If you want a simpler solution, remove inner update panels and wrap the multiview control within
an update panel instead
<asp:UpdatePanelID="viewPanel"runat="server"><ContentTemplate><asp:MultiViewActiveViewIndex="0"runat="server"><asp:Viewrunat="server"ID="View1">
First View
</asp:View><asp:Viewrunat="server"ID="View2">
Second View
</asp:View></asp:MultiView><asp:Panelrunat="server"ID="pnlControls">
previous and next buttons here
</asp:Panel></ContentTemplate></asp:UpdatePanel>
UpdatePanels around a parent control with lot of nested controls could impact performance. So, you need to try this approach and evaluate the performance and response times.
but in second case UpdatePanel is not woking on a panel control in which i m generating LinkButtons at run time. when i m clicking on any linkbutton of panel post back is occuring.
If it is not helpful for you, could you provide any additional codes or
markup related to this issue? It may be a bit easier to resolve if it can be easily reproduced.
Member
37 Points
59 Posts
UpdatePanel is not working with MultiView control and Panel
Apr 18, 2014 08:06 AM|sashahidali006|LINK
1. UpdatePanel is not working with MultiView control. (next and previous button inside the view are not working)
2.UpdatePanel is not woking on a panel control in which i m generating LinkButtons at run time.
Contributor
5590 Points
1297 Posts
Re: UpdatePanel is not working with MultiView control and Panel
Apr 18, 2014 08:20 AM|dotnetzoom|LINK
You need to add a trigger for the update panel when its update mode is set to conditional. Otherwise, content will refresh for any partial postback automatically. If you want a simpler solution, remove inner update panels and wrap the multiview control within an update panel instead
UpdatePanels around a parent control with lot of nested controls could impact performance. So, you need to try this approach and evaluate the performance and response times.
Member
37 Points
59 Posts
Re: UpdatePanel is not working with MultiView control and Panel
Apr 18, 2014 09:22 AM|sashahidali006|LINK
THNX SIR
but in second case UpdatePanel is not woking on a panel control in which i m generating LinkButtons at run time. when i m clicking on any linkbutton of panel post back is occuring.
All-Star
15648 Points
2151 Posts
Re: UpdatePanel is not working with MultiView control and Panel
Apr 21, 2014 02:21 AM|Happy Chen - MSFT|LINK
i would suggest you check out the link for details:
Understanding ASP.NET AJAX UpdatePanel Triggers
http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers
If it is not helpful for you, could you provide any additional codes or markup related to this issue? It may be a bit easier to resolve if it can be easily reproduced.
You'd better provide a simple demo(upload: SkyDrive - Microsoft).
Thank you for your understanding.
All-Star
48393 Points
12161 Posts
Re: UpdatePanel is not working with MultiView control and Panel
Apr 22, 2014 12:32 AM|chetan.sarode|LINK
Dynamic LinkButtons in Ajax UpdatePanel - http://forums.asp.net/t/1245427.aspx?Dynamic+LinkButtons+in+Ajax+UpdatePanel
http://forums.asp.net/t/1081181.aspx?Problems+with+changing+views+using+UpdatePanel+inside+Multiview+
Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.