C# Class Engage.Dnn.Survey.MainContainer

MainContainer for project.
Inheritance: ModuleBase
Show file Open project: EngageSoftware/Engage-Survey

Protected Properties

Property Type Description
DefaultControlKey ControlKey
GlobalNavigation global::Engage.Dnn.Survey.GlobalNavigation
SubControlPlaceholder global::System.Web.UI.WebControls.PlaceHolder

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Private Methods

Method Description
FillControlKeys ( ) : SubControlInfo>.IDictionary

Fills ControlKeys.

GetControlKey ( ) : ControlKey?

Gets the HttpRequest.QueryString control key for the current Page.Request.

GetControlToLoad ( ) : SubControlInfo

Gets the control to load, based on the key (or lack thereof) that is passed on the querystring.

LoadChildControl ( SubControlInfo controlToLoad ) : void

Loads the child control to be displayed in this container.

Method Details

OnInit() protected method

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

Property Details

DefaultControlKey protected static property

The control key for the DefaultSubControl
protected static ControlKey DefaultControlKey
return ControlKey

GlobalNavigation protected property

GlobalNavigation control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Survey.GlobalNavigation GlobalNavigation
return global::Engage.Dnn.Survey.GlobalNavigation

SubControlPlaceholder protected property

SubControlPlaceholder control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.PlaceHolder SubControlPlaceholder
return global::System.Web.UI.WebControls.PlaceHolder