The AspectableAjaxControl type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AspectableAjaxControl |
Creates instance of AspectableAjaxControl, which references a Control,
which implements IAspectableAjaxControl interface
|
Methods
| Name | Description | |
|---|---|---|
| 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
(Inherited from AjaxControl.) | |
| EndLoadViewState |
Called at the end of the LoadViewState() method.
Should be coupled with the BeginLoadViewState() method.
(Inherited from AjaxControl.) | |
| Equals | (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.) | |
| 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.
(Inherited from AjaxControl.) | |
| 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 |
PreRender override to make sure we add up the JavaScript files for the aspects in the Aspects
list of the control.
(Overrides AjaxControl..::.OnPreRender()()().) | |
| OnUnload |
Forward calls of OnUnload to this method.
(Inherited from AjaxControl.) | |
| RenderCallback |
Renders the Control during Ajax Callback.
(Inherited from AjaxControl.) | |
| 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.
(Inherited from AjaxControl.) | |
| RenderControlFirstTimeOnAjaxCallback |
Called when the control is being rerendered during ajax callback.
(Inherited from AjaxControl.) | |
| 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 | (Inherited from Object.) | |
| TrackViewState |
Begins ViewState tracking.
Called after InitRecursive() is called.
(Inherited from AjaxControl.) |
Properties
| Name | Description | |
|---|---|---|
| Aspects |
Aspects for documentation for this method
| |
| ClientID |
Returns the ClientID which the control has been rendered with.
(Inherited from AjaxControl.) | |
| 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 classes to know if the control should be rendered or not
based on the facts if the ShouldRender was set or control was previously rendered
(Inherited from AjaxControl.) | |
| StateManager |
See StateManager for documentation on this method
(Inherited from AjaxControl.) |
