Share via


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

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.

See Also

Reference

HtcMenuClientFiles Class

HtcMenuClientFiles Members

RegisterScript Overload

Microsoft.SharePoint.WebControls Namespace