• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IJavaScriptUtils

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public interface IJavaScriptUtils

Methods

| Improve this Doc View Source

RegisterJavascriptVariable(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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS