The Importer type exposes the following members.

Constructors

  NameDescription
Importer
Create a new Importer control

Methods

  NameDescription
LoadControlState
Restores control-state information from a previous page request that was saved by the SaveControlState method. The restored control-state is the set of script to import and dependencies between them.
(Overrides Control..::.LoadControlState(Object).)
OnInit
Uses the init event to call RegisterRequiresControlState(Control)
(Overrides Control..::.OnInit(EventArgs).)
Render
Render all the script tags in an order that respects dependencies between them.
(Overrides Control..::.Render(HtmlTextWriter).)
SaveControlState
Saves any server control state changes that have occurred since the time the page was posted back to the server. The control-state that will be saved is the set of script/dependencies of this request merge with those of the previous request.
(Overrides Control..::.SaveControlState()()().)

Properties

  NameDescription
ImportMsAjaxScripts Obsolete.
Gets or sets a value indicating whether the MicrosoftAjax.js file should be imported. If the CSO Gateway is used in conjunction with Microsoft Ajax, it might not be necessary to import the MicrosoftAjax.js file, so this attribute should be set to false. If the CSO Gateway is used alone this should be set to true.
MsAjaxLibraryVersion
Gets or sets a value of the Importer..::.MicrosoftAjaxLibraryVersion enum indicating which version of the Microsoft.Ajax.js library to import. If the CSO Gateway is used in conjunction with Microsoft Ajax, it might not be necessary to import the MicrosoftAjax.js file, so this attribute should be set to None. If the CSO Gateway is used alone this should be set to v1_0 or v3_5.

See Also