SPPageContentManager.RegisterClientScriptInclude method
Registers a client script file with the ScriptManager control
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub RegisterClientScriptInclude ( _
control As Control, _
type As Type, _
key As String, _
url As String _
)
'Usage
Dim control As Control
Dim type As Type
Dim key As String
Dim url As StringSPPageContentManager.RegisterClientScriptInclude(control, _
type, key, url)
public static void RegisterClientScriptInclude(
Control control,
Type type,
string key,
string url
)
Parameters
- control
Type: System.Web.UI.Control
- type
Type: System.Type
- key
Type: System.String
- url
Type: System.String