The following tables list the members exposed by ClientScriptProxy.
Name | Description | |
---|---|---|
Current | Current instance of this class which should always be used to access this object. There are no public constructors to ensure the reference is used as a Singleton to further ensure that all scripts are written to the same clientscript manager. | |
IsMsAjax | Determines if MsAjax is available in this Web application |
Name | Description | |
---|---|---|
CheckForMsAjax | Checks to see if MS Ajax is registered with the current Web application. | |
GetWebResourceUrl | Returns a WebResource URL for non script resources | |
RegisterClientScriptBlock | Registers a client script block in the page. | |
RegisterClientScriptInclude | Registers a script include tag into the page for an external script url | |
RegisterClientScriptResource | Returns a WebResource or ScriptResource URL for script resources that are to be embedded as script includes. | |
RegisterHiddenField | Injects a hidden field into the page | |
RegisterStartupScript | Registers a startup code snippet that gets placed at the bottom of the page |