What is the use of Conditional UpdateMode property?

 Posted by Rajesh_Kumar on 2/11/2014 | Category: ASP.NET AJAX Interview questions | Views: 641 | Points: 40
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 

Comments or Responses

Login to post response