public BasePage() : base() { _DataConnectionManager = Host.Container.Resolve <IDataConnectionManager>(); _DTService = new CommonService(_DataConnectionManager); _ViewStateEx = new StateBagWrapper(ViewState); _JS = new JS(this); _CK = new CK(this); switch (Host.Settings.Get <string>("AuthMode", "forms")) { default: _Auth = new FormsAuth(this); break; } }
public BaseControl() : base() { _ViewStateEx = new StateBagWrapper(ViewState); }