Beispiel #1
0
        protected void PrepareViewItems()
        {
            PaginaBase page = this.Page as PaginaBase;

            this.loggedBlock.Visible    = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado());
            this.notLoggedBlock.Visible = !this.loggedBlock.Visible;
        }
Beispiel #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();
     }
 }
Beispiel #3
0
        protected void PrepareViewItems()
        {
            PaginaBase page = this.Page as PaginaBase;

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