HtcMenuClientFiles.RegisterScript Method (Page)
Registers the script that links in client-side files on the specified page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Sub RegisterScript ( _
page As Page _
)
'Usage
Dim page As PageHtcMenuClientFiles.RegisterScript(page)
public static void RegisterScript(
Page page
)
Parameters
page
Type: System.Web.UI.PageThe page on which to register the menu script.
Remarks
The ASP.Net framework requires a server-side form to render registered client script blocks. This method is called only for pages guaranteed to contain a server-side form.