Beispiel #1
0
 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;
     }
 }
Beispiel #2
0
 public BaseControl()
     : base()
 {
     _ViewStateEx = new StateBagWrapper(ViewState);
 }