Answer: If we are working with Updatepanel in ASP.Net,then we must use UpdateMode property.
When we do not want Updatepanel to update its content everytime when any event is raised,then we have to set UpdateMode property to Conditional.
So that, associated updatepanel content will not get refreshed everytime.
We have to call Update() method of updatepanel control in code-behind if updatemode is set to Conditional.
Syntax:-
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"></asp:UpdatePanel>
Asked In: Many Interviews |
Alert Moderator