Interface IJavaScriptUtils
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public interface IJavaScriptUtils
Methods
| Improve this Doc View SourceRegisterJavascriptVariable(String, Object, Page, Type)
Registers a javascript variable in a page with its value.
Declaration
void RegisterJavascriptVariable(string variableName, object value, Page page, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.String | variableName | Variable name and also the name of the registered code. |
System.Object | value | Object to be assigned to the variable. |
Page | page | Page where the varialbe will be registered. |
Type | type | Type. |