public override void OnPageLoad() { welcomePageBuilder = new WelcomePageBuilder(_basePage); welcomePageBuilder.ProcessRequest(); if (welcomePageBuilder.IsNativeRenderRequest) { UseDotNetRendering = true; } }
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(); } }