JSGrid.JsInitObject Property

Gets or sets the custom data that is used by the ECMAScript (JavaScript, JScript) controller instance provided by the user.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property JsInitObject As Object
    Get
    Set
'Usage
Dim instance As JSGrid
Dim value As Object

value = instance.JsInitObject

instance.JsInitObject = value
public Object JsInitObject { get; set; }

Property Value

Type: System.Object
The custom data that is used by the ECMAScript (JavaScript, JScript) controller instance provided by the user.

Remarks

This object is not required by the JSGrid control. It exists as a way to conveniently serialize data to the client and then pass the data to the JavaScript controller instance.

See Also

Reference

JSGrid Class

JSGrid Members

Microsoft.SharePoint.WebControls Namespace