ClientScriptManager Methods

ClientScriptManager Methods

 

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetCallbackEventReference(Control, String, String, String)

Obtains a reference to a client function that, when invoked, initiates a client call back to a server event. The client function for this overloaded method includes a specified control, argument, client script, and context.

System_CAPS_pubmethodGetCallbackEventReference(Control, String, String, String, Boolean)

Obtains a reference to a client function that, when invoked, initiates a client call back to server events. The client function for this overloaded method includes a specified control, argument, client script, context, and Boolean value.

System_CAPS_pubmethodGetCallbackEventReference(Control, String, String, String, String, Boolean)

Obtains a reference to a client function that, when invoked, initiates a client call back to server events. The client function for this overloaded method includes a specified control, argument, client script, context, error handler, and Boolean value.

System_CAPS_pubmethodGetCallbackEventReference(String, String, String, String, String, Boolean)

Obtains a reference to a client function that, when invoked, initiates a client call back to server events. The client function for this overloaded method includes a specified target, argument, client script, context, error handler, and Boolean value.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetPostBackClientHyperlink(Control, String)

Gets a reference, with javascript: appended to the beginning of it, that can be used in a client event to post back to the server for the specified control and with the specified event arguments.

System_CAPS_pubmethodGetPostBackClientHyperlink(Control, String, Boolean)

Gets a reference, with javascript: appended to the beginning of it, that can be used in a client event to post back to the server for the specified control with the specified event arguments and Boolean indication whether to register the post back for event validation.

System_CAPS_pubmethodGetPostBackEventReference(Control, String)

Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified control that handles the postback and a string argument of additional event information.

System_CAPS_pubmethodGetPostBackEventReference(Control, String, Boolean)

Returns a string to use in a client event to cause postback to the server. The reference string is defined by the specified control that handles the postback and a string argument of additional event information. Optionally, registers the event reference for validation.

System_CAPS_pubmethodGetPostBackEventReference(PostBackOptions)

Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified PostBackOptions instance.

System_CAPS_pubmethodGetPostBackEventReference(PostBackOptions, Boolean)

Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified PostBackOptions object. Optionally, registers the event reference for validation.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetWebResourceUrl(Type, String)

Gets a URL reference to a resource in an assembly.

System_CAPS_pubmethodIsClientScriptBlockRegistered(String)

Determines whether the client script block is registered with the Page object using the specified key.

System_CAPS_pubmethodIsClientScriptBlockRegistered(Type, String)

Determines whether the client script block is registered with the Page object using a key and type.

System_CAPS_pubmethodIsClientScriptIncludeRegistered(String)

Determines whether the client script include is registered with the Page object using the specified key.

System_CAPS_pubmethodIsClientScriptIncludeRegistered(Type, String)

Determines whether the client script include is registered with the Page object using a key and type.

System_CAPS_pubmethodIsOnSubmitStatementRegistered(String)

Determines whether the OnSubmit statement is registered with the Page object using the specified key.

System_CAPS_pubmethodIsOnSubmitStatementRegistered(Type, String)

Determines whether the OnSubmit statement is registered with the Page object using the specified key and type.

System_CAPS_pubmethodIsStartupScriptRegistered(String)

Determines whether the startup script is registered with the Page object using the specified key.

System_CAPS_pubmethodIsStartupScriptRegistered(Type, String)

Determines whether the startup script is registered with the Page object using the specified key and type.

System_CAPS_pubmethodRegisterArrayDeclaration(String, String)

Registers a JavaScript array declaration with the Page object using an array name and array value.

System_CAPS_pubmethodRegisterClientScriptBlock(Type, String, String)

Registers the client script with the Page object using a type, key, and script literal.

System_CAPS_pubmethodRegisterClientScriptBlock(Type, String, String, Boolean)

Registers the client script with the Page object using a type, key, script literal, and Boolean value indicating whether to add script tags.

System_CAPS_pubmethodRegisterClientScriptInclude(String, String)

Registers the client script with the Page object using a key and a URL, which enables the script to be called from the client.

System_CAPS_pubmethodRegisterClientScriptInclude(Type, String, String)

Registers the client script include with the Page object using a type, a key, and a URL.

System_CAPS_pubmethodRegisterClientScriptResource(Type, String)

Registers the client script resource with the Page object using a type and a resource name.

System_CAPS_pubmethodRegisterExpandoAttribute(String, String, String)

Registers a name/value pair as a custom (expando) attribute of the specified control given a control ID, attribute name, and attribute value.

System_CAPS_pubmethodRegisterExpandoAttribute(String, String, String, Boolean)

Registers a name/value pair as a custom (expando) attribute of the specified control given a control ID, an attribute name, an attribute value, and a Boolean value indicating whether to encode the attribute value.

System_CAPS_pubmethodRegisterForEventValidation(PostBackOptions)

Registers an event reference for validation with PostBackOptions.

System_CAPS_pubmethodRegisterForEventValidation(String)

Registers an event reference for validation with a unique control ID representing the client control generating the event.

System_CAPS_pubmethodRegisterForEventValidation(String, String)

Registers an event reference for validation with a unique control ID and event arguments representing the client control generating the event.

System_CAPS_pubmethodRegisterHiddenField(String, String)

Registers a hidden value with the Page object.

System_CAPS_pubmethodRegisterOnSubmitStatement(Type, String, String)

Registers an OnSubmit statement with the Page object using a type, a key, and a script literal. The statement executes when the HtmlForm is submitted.

System_CAPS_pubmethodRegisterStartupScript(Type, String, String)

Registers the startup script with the Page object using a type, a key, and a script literal.

System_CAPS_pubmethodRegisterStartupScript(Type, String, String, Boolean)

Registers the startup script with the Page object using a type, a key, a script literal, and a Boolean value indicating whether to add script tags.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidateEvent(String)

Validates a client event that was registered for event validation using the RegisterForEventValidation method.

System_CAPS_pubmethodValidateEvent(String, String)

Validates a client event that was registered for event validation using the RegisterForEventValidation method.

Return to top
Show:
© 2016 Microsoft