Last post Feb 14, 2012 03:42 AM by chetan.sarode
Feb 13, 2012 10:29 PM|AaronBG|LINK
I have a login usercontrol in a masterpage, once logged in I want another usercontrol on a content page to be set to visible. Currently the usercontrol appears after I hit F5. How can it appear automatically? Can someone let me know how I can do this.
Feb 14, 2012 03:42 AM|chetan.sarode|LINK
When partial-page rendering is enabled, a control can perform a postback that updates the whole page or an asynchronous postback that updates the content of one or more
UpdatePanel controls. Whether a control causes an asynchronous postback and updates an
UpdatePanel control depends on the following:
If the UpdateMode property of the
UpdatePanel control is set to Always, the
UpdatePanel control's content is updated on every postback that originates from the page. This includes asynchronous postbacks from controls that are inside other
UpdatePanel controls and postbacks from controls that are not inside
If the UpdateMode property is set to
Conditional, the UpdatePanel control's content is updated in the following circumstances:
When you call the Update method of the
UpdatePanel control explicitly.
When the UpdatePanel control is nested inside another
UpdatePanel control, and the parent panel is updated.
When a postback is caused by a control that is defined as a trigger by using the
Triggers property of the UpdatePanel control. In this scenario, the control explicitly triggers an update of the panel content. The control can be either inside or outside the
UpdatePanel control that the trigger is associated with.
When the ChildrenAsTriggers property is set to
true and a child control of the UpdatePanel control causes a postback. Child controls of nested
UpdatePanel controls do not cause an update to the outer
UpdatePanel control unless they are explicitly defined as triggers