protected void PrepareViewItems() { PaginaBase page = this.Page as PaginaBase; this.loggedBlock.Visible = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado()); this.notLoggedBlock.Visible = !this.loggedBlock.Visible; }
protected void PrepareGridAccounts() { if (this.activeControl.Visible) { PaginaBase page = this.Page as PaginaBase; this.gridAccounts.DataSource = ControladorShardAccount.GetAccounts(page.RecuperarLoginUsuarioLogado()).GetDataSet(); this.gridAccounts.DataBind(); } }
protected void PrepareViewItems() { PaginaBase page = this.Page as PaginaBase; this.activeControl.Visible = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado()); }