Registers a javascript variable in a page with its value
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
void RegisterJavascriptVariable( string variableName, Object value, Page page, Type type ) |
| Visual Basic |
|---|
Sub RegisterJavascriptVariable ( variableName As String, value As Object, page As Page, type As Type ) |
Parameters
- variableName
- Type: System..::..String
Variable name and also the name of the registered code
- value
- Type: System..::..Object
Object to be assigned to the variable
- page
- Type: System.Web.UI..::..Page
Page where the varialbe will be registered
- type
- Type: System..::..Type
Type