LoadWidgetControl

LoadWidgetControl reads a widget file and loads it into a CyberStore page.

Configurable properties

Property Default Valid values or format Effect
FileLocation
String
Empty string ("")   Sets the widget file location.
OptionsVariableName
String
"widgetOptions"   Sets the widget options variable name.
Options
String
Empty string ("")   Supplies widget options.
DeveloperOptions
String
Empty string ("")   Supplies developer-mode option overrides.
EnableDeveloperMode
Boolean
Not specified true, false Controls developer-mode overrides.
DisableScriptMinification
Boolean
Not specified true, false Controls widget script minification.
OptionsID
Not specified
Not specified   Identifies the rendered widget options object.

SitePages.config example

The following example loads LoadWidgetControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: FileLocation, Options, DeveloperOptions, EnableDeveloperMode, DisableScriptMinification, OptionsID.

<Control src="LoadWidgetControl.ascx"
         OptionsVariableName="widgetOptions" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

LoadWidgetControl inherits shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.