Version

RegisterCommonScriptResource(Control,Page,String) Method

Registers the reference to ig_csom.js as a script include for the page specified.
Syntax
'Declaration
 
Public Overloads Shared Function RegisterCommonScriptResource( _
   ByVal control As Control, _
   ByVal p As Page, _
   ByVal path As String _
) As String
public static string RegisterCommonScriptResource( 
   Control control,
   Page p,
   string path
)

Parameters

control
Reference to control
p
A reference to a page, which requires an include for ig_csom.js
path
Path to file
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also