How to Update Update panel portion as per developer requirement means not updating all update panel when any post back occur.
Step 1 : Add update panel to your page
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
</ContentTemplate>
</asp:UpdatePanel>
Step 2 : Put you controls in update panel.
Step 3 : Add Two property value in your update panel
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
</ContentTemplate>
</asp:UpdatePanel>
<ContentTemplate>
</ContentTemplate>
</asp:UpdatePanel>
Step 4 : When you want to update this panel just update the panel at server side by writing
UpdatePanel1.Update();
Step 5 : Your panel will be updated when you write this code at server side .
No comments:
Post a Comment
Thank you for your interest .