Ejemplo n.º 1
0
        protected void PrepareViewItems()
        {
            PaginaBase page = this.Page as PaginaBase;

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

            this.activeControl.Visible = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado());
        }