What will happen,when we set UpdateMode property of update panel control to Always and call its Update() method in code-behind?

 Posted by Rajesh_Kumar on 2/11/2014 | Category: ASP.NET AJAX Interview questions | Views: 2186 | Points: 40

It will throw a run-time exception saying that

The Update method can only be called on UpdatePanel with ID 'UpdatePanel1' when UpdateMode is set to Conditional.

Where UpdatePanel1 is our UpdatePanel Id.

Meaning that we can only call Update() method when UpdateMode property is set to Conditional in Updatepanel definition.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response