SPPageContentManager members
Manages all the resource content that may be registered on a SharePoint page, including script files, inline scripts, style files, inline styles, and hidden input fields. Spweb Ensures that the content can be either appropriately placed on a fully-rendered HTML page or correctly transmitted to a browser in the case of a partial page load.
The SPPageContentManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
IsClientScriptBlockRegistered(Page, String) | Determines whether a pre-page-render script block that matches the specified key has been registered. |
![]() ![]() |
IsClientScriptBlockRegistered(Page, Type, String) | Determines whether a pre-page-render script block that matches the specified key and type has been registered. |
![]() ![]() |
IsOnSubmitStatementRegistered(Page, String) | Whether an onsubmit script matching the specified key has been registered |
![]() ![]() |
IsOnSubmitStatementRegistered(Page, Type, String) | Whether an onsubmit script matching the specified key and type has been registered |
![]() ![]() |
IsStartupScriptRegistered(Page, String) | Determines whether a startup script matching the specified key has been registered. |
![]() ![]() |
IsStartupScriptRegistered(Page, Type, String) | Determines whether a startup script matching the specified key and type has been registered. |
![]() ![]() |
RegisterArrayDeclaration(Control, String, String) | Registers a script which creates an array in the browser |
![]() ![]() |
RegisterArrayDeclaration(Page, String, String) | Registers a script which creates an array in the browser |
![]() ![]() |
RegisterClientScriptBlock(Control, Type, String, String) | Registers a client script block using a control, specifying the registering control, an identifying key, the script type, and the script literal. Intended for execution before the page is rendered. |
![]() ![]() |
RegisterClientScriptBlock(Page, Type, String, String) | Registers a client script block using a page, specifying a registering page, an identifying key, the script type, and the script literal. Intended for execution before the page is rendered. |
![]() ![]() |
RegisterClientScriptInclude | Registers a client script file with the ScriptManager control |
![]() ![]() |
RegisterHiddenField(Control, String, String) | Registers a hidden input field for the current control, specifying the control, the name of the hidden field, and the value of the hidden field. |
![]() ![]() |
RegisterHiddenField(Page, String, String) | Registers a hidden input field for the current control, specifying the page, the name of the hidden field, and the value of the hidden field. |
![]() ![]() |
RegisterInlineStyle | Registers a style definition which will appear in the body of the page |
![]() ![]() |
RegisterOnSubmitStatement(Control, Type, String, String) | Registers a script intended for execution during onsubmit |
![]() ![]() |
RegisterOnSubmitStatement(Page, Type, String, String) | Registers a script intended for execution during onsubmit |
![]() ![]() |
RegisterScriptFile(Page, String, Boolean) | Registers the specified script file for the specified Web page and localizable value. |
![]() ![]() |
RegisterScriptFile(Page, String, Boolean, Boolean, String, String) | Registers a script file for the specified user interface (UI) version, Web page, script language, and localizable and defer values. |
![]() ![]() |
RegisterStartupScript(Control, Type, String, String) | Registers a startup script block by control, specifying the registering control, the script type, an identifying key, and the script literal. |
![]() ![]() |
RegisterStartupScript(Page, Type, String, String) | Registers a startup script block by page, specifying the registering page object, the script type, an identifying key, and the script literal. |
![]() ![]() |
RegisterStyleFile(String) | |
![]() ![]() |
RegisterStyleFile(String, String, Boolean, [], Boolean, String) |
Top