Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2012 02:23 AM by chetan.sarode
Feb 23, 2012 06:12 AM|LINK
I want to put an update panel childUpdatePanel inside another update panel parentUpdatePanel. The requirement is that childUpdatePanel should not be updated with parentUpdatePanel post back. childUpdatePanel should change only on first page load or complete
Let me know if you guys need more details.
Feb 23, 2012 07:00 AM|LINK
Feb 24, 2012 02:23 AM|LINK
How UpdatePanel Controls Are Refreshed
The following list describes the property settings of the
UpdatePanel control that determine when a panel's content is updated during partial-page rendering.
If the UpdateMode property is set toAlways, the
UpdatePanel control’s content is updated on every postback that originates from anywhere on the page. This includes asynchronous postbacks from controls that are inside otherUpdatePanel
controls, and postbacks from controls that are not insideUpdatePanel controls.
If the UpdateMode property is set toConditional, the
UpdatePanel control’s content is updated when one of the following is true:
When the postback is caused by a trigger for that
When you explicitly call the
When the UpdatePanel control is nested inside anotherUpdatePanel control and the parent panel is updated.
ChildrenAsTriggers property is set to true and any child control of theUpdatePanel control causes a postback. Child controls of nestedUpdatePanel
controls do not cause an update to the outerUpdatePanel control unless they are explicitly defined as triggers for the parent panel.
If the ChildrenAsTriggers property is set tofalse and the
UpdateMode property is set to
Always, an exception is thrown. TheChildrenAsTriggers property is intended to be used only when theUpdateMode
property is set toConditional.