GetConfigurationObjectJavaScript Method (NAjaxToolDefinition)
In This Topic
Override this method to provide JavaScript code, creating a new object that carries custom configuration information for the tool. The output must look like this: "new NMyToolCustomconfiguration('my data', 12, 'more data')"
Syntax
'Declaration
Protected Overridable Function GetConfigurationObjectJavaScript() As System.String
'Usage
Dim instance As NAjaxToolDefinition
Dim value As System.String
value = instance.GetConfigurationObjectJavaScript()
protected virtual System.string GetConfigurationObjectJavaScript()
Return Value
JavaScript code or null if no custom configuration is to be used.
Requirements
Target Platforms: 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