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

Class DnnJsIncludeFallback

Emit a fallback block for a script in the same part of the page.

Inheritance
System.Object
DnnJsIncludeFallback
Namespace: DotNetNuke.Web.Client.ClientResourceManagement
Assembly: DotNetNuke.Web.Client.dll
Syntax
public class DnnJsIncludeFallback : WebControl

Constructors

| Improve this Doc View Source

DnnJsIncludeFallback(String, String)

Initializes a new instance of the DnnJsIncludeFallback class.

Declaration
public DnnJsIncludeFallback(string objectName, string fileName)
Parameters
Type Name Description
System.String objectName

The JS object name to verify is defined in global scope.

System.String fileName

The path to load if the object is not defined.

Properties

| Improve this Doc View Source

FileName

Emit a fallback block for a script in the same part of the page.

Declaration
public string FileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ObjectName

Emit a fallback block for a script in the same part of the page.

Declaration
public string ObjectName { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

RenderControl(HtmlTextWriter)

Emit a fallback block for a script in the same part of the page.

Declaration
public override void RenderControl(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

Extension Methods

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