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 SourceDnnJsIncludeFallback(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 SourceFileName
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 |
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 SourceRenderControl(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 |