Version

WebScriptManager Class Members

The following tables list the members exposed by WebScriptManager.

Public Constructors
 NameDescription
Public ConstructorWebScriptManager ConstructorThe control's default constructor.  
Public Properties
 NameDescription
Public PropertyAjaxFrameworkAssemblyGets the Ajax framework assembly that components on the page use. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAjaxFrameworkModeGets or sets a value that specifies how client scripts of the Microsoft Ajax client library will be included on the client. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAllowCustomErrorsRedirectGets or sets a value that determines whether the custom errors section of the Web.config file is used during an error in an asynchronous postback. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAppRelativeTemplateSourceDirectoryGets or sets the application-relative virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl object that contains this control. (Inherited from System.Web.UI.Control)
Public PropertyAsyncPostBackErrorMessageGets or sets the error message that is sent to the client when an unhandled server exception occurs during an asynchronous postback. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAsyncPostBackSourceElementIDGets the unique ID of the control that caused the asynchronous postback. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAsyncPostBackTimeoutGets or sets a value that indicates the time, in seconds, before asynchronous postbacks time out if no response is received. (Inherited from System.Web.UI.ScriptManager)
Public PropertyAuthenticationServiceGets the System.Web.UI.AuthenticationServiceManager object that is associated with the current System.Web.UI.ScriptManager instance. (Inherited from System.Web.UI.ScriptManager)
Public PropertyClientIDGets the control ID for HTML markup that is generated by ASP.NET. (Inherited from System.Web.UI.Control)
Public PropertyClientIDModeGets or sets the algorithm that is used to generate the value of the System.Web.UI.Control.ClientID property. (Inherited from System.Web.UI.Control)
Public PropertyClientNavigateHandlerGets or sets the name of the method that handles the Sys.Application.navigate event on the client. (Inherited from System.Web.UI.ScriptManager)
Public PropertyCompositeScriptGets a reference to the composite script that supports the Web page. (Inherited from System.Web.UI.ScriptManager)
Public PropertyControlsGets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from System.Web.UI.Control)
Public PropertyEmptyPageUrlGets or sets a URL to a blank Web page. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableCdnDetermines whether the current page loads client script references from CDN (Content Delivery Network) paths. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableCdnFallbackEnables local copy of a script to load in the event that the CDN (Content Delivery Network) is unavailable. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableHistoryGets or sets a value that indicates whether the Web page supports history point management. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnablePageMethodsGets or sets a value that indicates whether public static page methods in an ASP.NET page can be called from client script. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnablePartialRenderingGets or sets a value that enables partial rendering of a page, which in turn enables you to update regions of the page individually by using System.Web.UI.UpdatePanel controls. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableScriptGlobalizationGets or sets a value that indicates whether the System.Web.UI.ScriptManager control renders script that supports parsing and formatting of culture-specific information. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableScriptLocalizationGets or sets a value that indicates whether the System.Web.UI.ScriptManager control renders localized versions of script files. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableSecureHistoryStateGets or sets a value that indicates whether to encrypt the history state string. (Inherited from System.Web.UI.ScriptManager)
Public PropertyEnableThemingGets or sets a value indicating whether themes apply to this control. (Inherited from System.Web.UI.Control)
Public PropertyEnableViewStateGets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from System.Web.UI.Control)
Public PropertyIDGets or sets the programmatic identifier assigned to the server control. (Inherited from System.Web.UI.Control)
Public PropertyInfragisticsCDNContains CDN options for the ASP.NET controls  
Public PropertyIsDebuggingEnabledGets a value that indicates whether the debug versions of client script libraries will be rendered. (Inherited from System.Web.UI.ScriptManager)
Public PropertyIsInAsyncPostBackGets a value that indicates whether the current postback is being executed in partial-rendering mode. (Inherited from System.Web.UI.ScriptManager)
Public PropertyIsNavigatingGets a value that indicates whether a System.Web.UI.ScriptManager.Navigate event is currently being handled. (Inherited from System.Web.UI.ScriptManager)
Public PropertyLoadScriptsBeforeUIGets or sets a value that indicates whether scripts are loaded before or after markup for the page UI is loaded. (Inherited from System.Web.UI.ScriptManager)
Public PropertyNamingContainerGets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same System.Web.UI.Control.ID property value. (Inherited from System.Web.UI.Control)
Public PropertyPageGets a reference to the System.Web.UI.Page instance that contains the server control. (Inherited from System.Web.UI.Control)
Public PropertyParentGets a reference to the server control's parent control in the page control hierarchy. (Inherited from System.Web.UI.Control)
Public PropertyProfileServiceGets the System.Web.UI.ProfileServiceManager object that is associated with the current System.Web.UI.ScriptManager instance. (Inherited from System.Web.UI.ScriptManager)
Public PropertyRenderingCompatibilityGets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from System.Web.UI.Control)
Public PropertyRoleServiceGets the System.Web.UI.RoleServiceManager object that is associated with the current System.Web.UI.ScriptManager instance. (Inherited from System.Web.UI.ScriptManager)
Public PropertyScriptModeGets or sets a value that specifies whether debug or release versions of client script libraries are rendered. (Inherited from System.Web.UI.ScriptManager)
Public PropertyScriptPathGets or sets the root path of the location that is used to build the paths to ASP.NET Ajax and custom script files. (Inherited from System.Web.UI.ScriptManager)
Public PropertyScriptsGets a System.Web.UI.ScriptReferenceCollection object that contains the System.Web.UI.ScriptReference objects, each of which represents a script file rendered to the client. (Inherited from System.Web.UI.ScriptManager)
Public PropertyServicesGets a System.Web.UI.ServiceReferenceCollection object that contains a System.Web.UI.ServiceReference object for each Web service that ASP.NET exposes on the client for Ajax functionality. (Inherited from System.Web.UI.ScriptManager)
Public PropertySiteGets information about the container that hosts the current control when rendered on a design surface. (Inherited from System.Web.UI.Control)
Public PropertySkinIDGets or sets the skin to apply to the control. (Inherited from System.Web.UI.Control)
Public PropertySupportsPartialRenderingGets a value that indicates whether the client supports partial-page rendering. (Inherited from System.Web.UI.ScriptManager)
Public PropertyTemplateControlGets or sets a reference to the template that contains this control. (Inherited from System.Web.UI.Control)
Public PropertyTemplateSourceDirectoryGets the virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl that contains the current server control. (Inherited from System.Web.UI.Control)
Public PropertyUniqueIDGets the unique, hierarchically qualified identifier for the server control. (Inherited from System.Web.UI.Control)
Public PropertyValidateRequestModeGets or sets a value that indicates whether the control checks client input from the browser for potentially dangerous values. (Inherited from System.Web.UI.Control)
Public PropertyViewStateModeGets or sets the view-state mode of this control. (Inherited from System.Web.UI.Control)
Protected Properties
 NameDescription
Protected PropertyAdapterGets the browser-specific adapter for the control. (Inherited from System.Web.UI.Control)
Protected PropertyChildControlsCreatedGets a value that indicates whether the server control's child controls have been created. (Inherited from System.Web.UI.Control)
Protected PropertyClientIDSeparatorGets a character value representing the separator character used in the System.Web.UI.Control.ClientID property. (Inherited from System.Web.UI.Control)
Protected PropertyEventsGets a list of event handler delegates for the control. This property is read-only. (Inherited from System.Web.UI.Control)
Protected PropertyHasChildViewStateGets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from System.Web.UI.Control)
Protected PropertyIdSeparatorGets the character used to separate control identifiers. (Inherited from System.Web.UI.Control)
Protected PropertyIsTrackingViewStateGets a value that indicates whether the server control is saving changes to its view state. (Inherited from System.Web.UI.Control)
Protected PropertyLoadViewStateByIDGets a value indicating whether the control participates in loading its view state by System.Web.UI.Control.ID instead of index. (Inherited from System.Web.UI.Control)
Protected PropertyViewStateGets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from System.Web.UI.Control)
Protected PropertyViewStateIgnoresCaseGets a value that indicates whether the System.Web.UI.StateBag object is case-insensitive. (Inherited from System.Web.UI.Control)
Public Methods
 NameDescription
Public MethodAddHistoryPointOverloaded. Creates a history point and adds it to the browser's history stack, using the specified state key and state value. (Inherited from System.Web.UI.ScriptManager)
Public MethodApplyStyleSheetSkinApplies the style properties defined in the page style sheet to the control. (Inherited from System.Web.UI.Control)
Public MethodDataBindOverloaded. Binds a data source to the invoked server control and all its child controls. (Inherited from System.Web.UI.Control)
Public MethodDisposeOverridden.   
Public MethodFindControlOverloaded. Searches the current naming container for a server control with the specified id parameter. (Inherited from System.Web.UI.Control)
Public MethodFocusSets input focus to a control. (Inherited from System.Web.UI.Control)
Public MethodGetRegisteredArrayDeclarationsRetrieves a read-only collection of ECMAScript (JavaScript) array declarations that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredClientScriptBlocksRetrieves a read-only collection of client script blocks that were previously registered with the System.Web.UI.ScriptManager control. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredDisposeScriptsRetrieves a read-only collection of dispose scripts that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredExpandoAttributesRetrieves a read-only collection of custom (expando) attributes that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredHiddenFieldsRetrieves a read-only collection of hidden fields that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredOnSubmitStatementsRetrieves a read-only collection of onsubmit statements that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRegisteredStartupScriptsRetrieves a read-only collection of startup scripts that were previously registered with the System.Web.UI.Page object. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetRouteUrlOverloaded. Gets the URL that corresponds to a set of route parameters. (Inherited from System.Web.UI.Control)
Public MethodGetStateStringRetrieves a string that contains key/value pairs that represent the state of the Web page. (Inherited from System.Web.UI.ScriptManager)
Public MethodGetUniqueIDRelativeToReturns the prefixed portion of the System.Web.UI.Control.UniqueID property of the specified control. (Inherited from System.Web.UI.Control)
Public MethodHasControlsDetermines if the server control contains any child controls. (Inherited from System.Web.UI.Control)
Public MethodRegisterAsyncPostBackControlRegisters a control as a trigger for asynchronous postbacks. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterDataItemOverloaded. Sends custom data to a control during partial-page rendering. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterDisposeRegisters a dispose script for a control that is inside an System.Web.UI.UpdatePanel control. The script is executed when the System.Web.UI.UpdatePanel control is updated or deleted. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterExtenderControlRegisters an extender control with the current System.Web.UI.ScriptManager instance. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterPostBackControlRegisters a control as a trigger for a postback. This method is used to configure postback controls inside an System.Web.UI.UpdatePanel control that would otherwise perform asynchronous postbacks. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterScriptControlRegisters a script control with the current System.Web.UI.ScriptManager instance. (Inherited from System.Web.UI.ScriptManager)
Public MethodRegisterScriptDescriptorsOverloaded. Calls back to an System.Web.UI.ExtenderControl class to return instance scripts that must be rendered to support the client object that represents a client control, component, or behavior. (Inherited from System.Web.UI.ScriptManager)
Public MethodRenderControlOverloaded. Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from System.Web.UI.Control)
Public MethodResolveClientUrlGets a URL that can be used by the browser. (Inherited from System.Web.UI.Control)
Public MethodResolveUrlConverts a URL into one that is usable on the requesting client. (Inherited from System.Web.UI.Control)
Public MethodSetFocusOverloaded. Sets the browser focus to the specified control. (Inherited from System.Web.UI.ScriptManager)
Public MethodSetRenderMethodDelegateAssigns an event handler delegate to render the server control and its content into its parent control. (Inherited from System.Web.UI.Control)
Protected Methods
 NameDescription
Protected MethodAddParsedSubObjectNotifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.Control)
Protected MethodBuildProfileTreeGathers information about the server control and delivers it to the System.Web.UI.Page.Trace property to be displayed when tracing is enabled for the page. (Inherited from System.Web.UI.Control)
Protected MethodClearCachedClientIDSets the cached System.Web.UI.Control.ClientID value to a null reference (Nothing in Visual Basic). (Inherited from System.Web.UI.Control)
Protected MethodClearChildControlStateDeletes the control-state information for the server control's child controls. (Inherited from System.Web.UI.Control)
Protected MethodClearChildStateDeletes the view-state and control-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected MethodClearChildViewStateDeletes the view-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected MethodClearEffectiveClientIDModeSets the System.Web.UI.Control.ClientIDMode property of the current control instance and of any child controls to System.Web.UI.ClientIDMode.Inherit. (Inherited from System.Web.UI.Control)
Protected MethodCreateControlCollectionCreates a new System.Web.UI.ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from System.Web.UI.Control)
Protected MethodDataBindChildrenBinds a data source to the server control's child controls. (Inherited from System.Web.UI.Control)
Protected MethodEnsureChildControlsDetermines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from System.Web.UI.Control)
Protected MethodEnsureIDCreates an identifier for controls that do not have an identifier assigned. (Inherited from System.Web.UI.Control)
Protected MethodGetDesignModeStateGets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected MethodHasEventsReturns a value indicating whether events are registered for the control or any child controls. (Inherited from System.Web.UI.Control)
Protected MethodIsLiteralContentDetermines if the server control holds only literal content. (Inherited from System.Web.UI.Control)
Protected MethodLoadPostDataReads form data that is posted from the browser to the server, and determines the source of the asynchronous postback. (Inherited from System.Web.UI.ScriptManager)
Protected MethodLoadViewStateRestores view-state information from a previous page request that was saved by the System.Web.UI.Control.SaveViewState method. (Inherited from System.Web.UI.Control)
Protected MethodOnBubbleEventDetermines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from System.Web.UI.Control)
Protected MethodOnDataBindingRaises the System.Web.UI.Control.DataBinding event. (Inherited from System.Web.UI.Control)
Protected MethodOnResolveCompositeScriptReferenceRaises the System.Web.UI.ScriptManager.ResolveCompositeScriptReference event. (Inherited from System.Web.UI.ScriptManager)
Protected MethodOnResolveScriptReferenceOverridden.   
Protected MethodRaiseBubbleEventAssigns any sources of the event and its information to the control's parent. (Inherited from System.Web.UI.Control)
Protected MethodRaisePostBackEventProcesses a postback event raised by the System.Web.UI.ScriptManager control and loads the history state of the Web page. (Inherited from System.Web.UI.ScriptManager)
Protected MethodRaisePostDataChangedEventRaises events for the System.Web.UI.ScriptManager control when it posts back to the server. (Inherited from System.Web.UI.ScriptManager)
Protected MethodResolveAdapterGets the control adapter responsible for rendering the specified control. (Inherited from System.Web.UI.Control)
Protected MethodSaveViewStateSaves any server control view-state changes that have occurred since the time the page was posted back to the server. (Inherited from System.Web.UI.Control)
Protected MethodSetDesignModeStateSets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected MethodTrackViewStateCauses tracking of view-state changes to the server control so they can be stored in the server control's System.Web.UI.StateBag object. This object is accessible through the System.Web.UI.Control.ViewState property. (Inherited from System.Web.UI.Control)
Public Events
 NameDescription
Public EventAsyncPostBackErrorOccurs when there is a page error during an asynchronous postback. (Inherited from System.Web.UI.ScriptManager)
Public EventDataBindingOccurs when the server control binds to a data source. (Inherited from System.Web.UI.Control)
Public EventDisposedOccurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from System.Web.UI.Control)
Public EventInitOccurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from System.Web.UI.Control)
Public EventLoadOccurs when the server control is loaded into the System.Web.UI.Page object. (Inherited from System.Web.UI.Control)
Public EventNavigateOccurs when the user clicks the browser's Back or Forward button. (Inherited from System.Web.UI.ScriptManager)
Public EventPreRenderOccurs after the System.Web.UI.Control object is loaded but prior to rendering. (Inherited from System.Web.UI.Control)
Public EventResolveCompositeScriptReferenceOccurs when a composite script is registered with the System.Web.UI.ScriptManager control. (Inherited from System.Web.UI.ScriptManager)
Public EventResolveScriptReferenceOccurs when a member of the System.Web.UI.ScriptManager.Scripts collection is registered with the System.Web.UI.ScriptManager control. (Inherited from System.Web.UI.ScriptManager)
Public EventUnloadOccurs when the server control is unloaded from memory. (Inherited from System.Web.UI.Control)
See Also