Exemplo n.º 1
0
 public override void OnPageLoad()
 {
     welcomePageBuilder = new WelcomePageBuilder(_basePage);
     welcomePageBuilder.ProcessRequest();
     if (welcomePageBuilder.IsNativeRenderRequest)
     {
         UseDotNetRendering = true;
     }
 }
Exemplo n.º 2
0
        private void RenderASPXPage(WelcomePageBuilder welcomePageBuilder)
        {
            SiteDescription.Text = welcomePageBuilder.CurrentSiteDescription;
            SiteID.Text = welcomePageBuilder.CurrentSiteID.ToString();
            SiteURLName.Text = welcomePageBuilder.CurrentSiteUrlName;

            if (welcomePageBuilder.UserLoggedIn)
            {
                RenderLoggedInUserDetails();

                RenderSuperUserDetails();

                RenderEditorOfSitesDetails();
            }
            else
            {
                HideUserControls();
            }
        }