The AjaxContainerControl type exposes the following members.

Constructors

  NameDescription
AjaxContainerControl
Constructor

Methods

  NameDescription
BeginLoadViewState
Called at the begining of the LoadViewState() method, to extract saved state for the base LoadViewState() method. Should be coupled with EndLoadViewState(), after the control viewstate is fully loaded.
(Inherited from AjaxControl.)
DetermineRequiresMoveSerialization
When the ajax control is replaced, this method is called to check if the move script needs to serialized, or if it is handled by the replacement script
(Overrides AjaxControl..::.DetermineRequiresMoveSerialization()()().)
EndLoadViewState
Called at the end of the LoadViewState() method. Should be coupled with the BeginLoadViewState() method.
(Inherited from AjaxControl.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteLoadPostData
This function is used to make sure we detect changes and merge them when LoadPostData Second Try fires after you have modified the state of your control.
(Inherited from AjaxControl.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
ForceAnUpdate
See ForceAnUpdate()()() for documentation on this method
ForceAnUpdateWithAppending
See TrackControlAdditions()()() for documentation on this method
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMarkup
Called when the control for some reason (was invisible previously e.g.) should render for the "first" time but it is still an Ajax Callback
(Overrides AjaxControl..::.GetMarkup()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadControlState
Called to load control state
(Inherited from AjaxControl.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnInit
In Gaia we must register the page width the Manager in order to later be able to manipulate it's rendering and send Ajax data back to the client instead of the default full rendering HTML. This is being done here in the OnInit override (which have been "outfactored" to this class)
(Inherited from AjaxControl.)
OnPreRender
Overridden to ensure inclusion of common JavaScript files
(Overrides AspectableAjaxControl..::.OnPreRender()()().)
OnUnload
Forward calls of OnUnload to this method.
(Inherited from AjaxControl.)
RenderCallback
Renders the Control during Ajax Callback.
(Inherited from AjaxControl.)
RenderCallbackOnForceAnUpdate
Called when container control is being rerendered and ForceAnUpdate was called.
RenderCallbackOnNotForceAnUpdate
Called when container control is being rerendered, but ForceAnUpdate was not called.
RenderControl
Renders the control. This is a core function that handles the various scenarios that controls can be rendered in. You will probably want to leave this function alone and override the RenderControlHtml function instead. This function can then again be used as an input parameter to this class.
(Inherited from AjaxControl.)
RenderControlChangesOnAjaxCallback
Called during ajax callback to render control state changes.
(Overrides AjaxControl..::.RenderControlChangesOnAjaxCallback()()().)
RenderControlFirstTimeOnAjaxCallback
Called when the control is being rerendered during ajax callback.
(Overrides AjaxControl..::.RenderControlFirstTimeOnAjaxCallback()()().)
RenderNonCallback
This method will run when either this is an initial hit, a conventional postback or for some other reasons (e.g. ForceAnUpdate) the control needs to render HTML instead of just changing the property values.
(Inherited from AjaxControl.)
SaveControlState
Saves state information into control state if viewstate is disabled.
(Inherited from AjaxControl.)
SaveViewState
Forward the SaveViewState function here so that script files are included. This function also takes care of setting the ShouldRender flag which decides wheter the control should be rendered or not. If ViewState is disabled, this function should not be executed.
(Inherited from AjaxControl.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TrackControlAddition
Call this function to start tracking control additions. All controls added to the controls collection after this will be rendered during ForceAnUpdate() or ForceAnUpdateWithAppending(). This is very useful when you are just adding new content like for example new TreeViewItems in the TreeView or adding new stuff in for example AspectScrollable.
TrackViewState
Begins ViewState tracking. Called after InitRecursive() is called.
(Inherited from AjaxControl.)

Properties

  NameDescription
Aspects
Aspects for documentation for this method
(Inherited from AspectableAjaxControl.)
ClientID
Returns the ClientID which the control has been rendered with.
(Inherited from AjaxControl.)
IsTrackingControlAdditions
Returns true if the Container Control is tracking control additions. See TrackControlAddition() for more information.
Manager
Shortend way to access Manager.Instance. Used by derived classes for cached access to Manager.Instance.
(Inherited from AjaxControl.)
Rendered
Gets value indicating if this ajax control was previously rendered or not. Used by derived classes.
(Inherited from AjaxControl.)
Rerendered
Gets value indicating if the ajax control is rerendered. Used by derived classes.
(Inherited from AjaxControl.)
ShouldRender
Returns true if the control should be completely re-rendered. Gaia tries to do "partial rendering" as seldom as possible, however there are a few scenarios where partial rendering is "inevitable". One of those are if the control has not previously been rendered due to either being "invisible" or some ancestor container widget was invisible. Another reason might be because the control needs a full re-rendering like for instance ForceAnUpdate on container widgets. If this property is true then a full re-rendering will be initiated.
(Inherited from AjaxControl.)
ShouldRenderAjaxControl
Used by derived controls to know if the control should be rendered or not based on the facts if the ShouldRender was set or control was previously rendered
(Overrides AjaxControl..::.ShouldRenderAjaxControl.)
StateManager
See StateManager for documentation on this method
(Inherited from AjaxControl.)

See Also