What are the modes of updation in an UpdatePanel? What are Triggers of an UpdatePanel?
An UpdatePanel has a property called UpdateMode. There are two possible values for this property: 1) Always 2) Conditional
If the UpdateMode property is set to “Always”, the UpdatePanel control’s content is updated on each postback that starts from anywhere on the webpage. This also includes asynchronous postbacks from controls that are inside other UpdatePanel controls, and postbacks from controls which are not inside UpdatePanel controls.
If the UpdateMode property is set to Conditional, the UpdatePanel control’s content is updated when one of the following is true:
1 - When the postback is caused by a trigger for that UpdatePanel control.
2 - When you explicitly call the UpdatePanel control’s Update() method.
3 - When the UpdatePanel control is nested inside another UpdatePanel control and the parent panel is updated.