Method | Description | |
---|---|---|
DoesThemeWidgetContainerExist ( bool existenceCheck ) : bool |
Returns whether the theme contains a widget container file.
|
|
GetThemeWidgetContainerFilePath ( bool existenceCheck ) : string |
Returns the file path of where a theme's widget container would expect to be located.
|
|
GetThemeWidgetContainerVirtualPath ( bool existenceCheck ) : string |
Returns the virtual path of where a theme's widget container would expect to be located.
|
|
GetWidgetContainer ( App_Code.Controls.WidgetBase widgetControl ) : |
Loads the widget container (either the one located in the theme folder, or the default one if a theme widget container is missing), and adds the Widget to the widget container.
|
|
GetWidgetContainer ( App_Code.Controls.WidgetBase widgetControl, bool widgetContainerExists, string widgetContainerVirtualPath ) : |
Loads the widget container (either the one located in the theme folder, or the default one if a theme widget container is missing), and adds the Widget to the widget container.
|
|
ProcessLoad ( ) : void |
Manually run the Initialization process.
|
|
RenderContainer ( ) : void |
The container will be processed when invoked, rather than waiting for the Load event to occur.
|
Method | Description | |
---|---|---|
OnLoad ( |
Raises the E:System.Web.UI.Control.Load event.
|
|
OnPreRender ( |
Raises the E:System.Web.UI.Control.PreRender event.
|
public static DoesThemeWidgetContainerExist ( bool existenceCheck ) : bool | ||
existenceCheck | bool | |
return | bool |
public static GetThemeWidgetContainerFilePath ( bool existenceCheck ) : string | ||
existenceCheck | bool | |
return | string |
public static GetThemeWidgetContainerVirtualPath ( bool existenceCheck ) : string | ||
existenceCheck | bool | /// When true, the path to the theme folder to check for the WidgetContainer existence /// is returned. When false, the path to the control that will be loaded is returned. /// If it's a Razor theme, the path will be RazorHost instead of the actual theme folder /// name. /// |
return | string |
public static GetWidgetContainer ( App_Code.Controls.WidgetBase widgetControl ) : |
||
widgetControl | App_Code.Controls.WidgetBase | |
return |
public static GetWidgetContainer ( App_Code.Controls.WidgetBase widgetControl, bool widgetContainerExists, string widgetContainerVirtualPath ) : |
||
widgetControl | App_Code.Controls.WidgetBase | |
widgetContainerExists | bool | |
widgetContainerVirtualPath | string | |
return |
protected OnLoad ( |
||
e | The |
|
return | void |
protected OnPreRender ( |
||
e | An |
|
return | void |