The AjaxControl type exposes the following members.

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.
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
EndLoadViewState
Called at the end of the LoadViewState() method. Should be coupled with the BeginLoadViewState() method.
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.
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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMarkup
When the control has not yet been rendered to the page, this function is used to extract the control content and inject it into the page.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadControlState
Called to load control state
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)
OnPreRender
Called just before the rendering of the Control is being initiated. We use this override to add inclusion of the JavaScript files for the Control and signalize that we have a Gaia Control visible on the page
OnUnload
Forward calls of OnUnload to this method.
RenderCallback
Renders the Control during Ajax Callback.
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.
RenderControlChangesOnAjaxCallback
Called during ajax callback to render control state changes.
RenderControlFirstTimeOnAjaxCallback
Called when the control is being rerendered during ajax callback.
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.
SaveControlState
Saves state information into control state if viewstate is disabled.
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.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TrackViewState
Begins ViewState tracking. Called after InitRecursive() is called.

See Also