Beispiel #1
0
 protected void ManageGettingStarted()
 {
     // The Getting Started dialog can be also opened from the Control Bar, also do not show getting started in popup.
     var controller = new GettingStartedController();
     if (!controller.ShowOnStartup || (HttpContext.Current != null && HttpContext.Current.Request.Url.ToString().Contains("popUp=true")))
     {
         return;
     }
     var gettingStarted = DnnGettingStarted.GetCurrent(Page);
     if (gettingStarted == null)
     {
         gettingStarted = new DnnGettingStarted();
         Page.Form.Controls.Add(gettingStarted);
     }
     gettingStarted.ShowOnStartup = true;
 }
Beispiel #2
0
 protected void ManageGettingStarted()
 {
     // The Getting Started dialog can be also opened from the Control Bar, also do not show getting started in popup.
     var controller = new GettingStartedController();
     if (!controller.ShowOnStartup || UrlUtils.InPopUp())
     {
         return;
     }
     var gettingStarted = DnnGettingStarted.GetCurrent(Page);
     if (gettingStarted == null)
     {
         gettingStarted = new DnnGettingStarted();
         Page.Form.Controls.Add(gettingStarted);
     }
     gettingStarted.ShowOnStartup = true;
 }