Exemplo n.º 1
0
 protected void BtnRemoveFilter_Click(object sender, EventArgs e)
 {
     try {
         string language = UIManager.UserManager.GetUserLanguage();
         this.DdlDate.SelectedIndex      = -1;
         this.TxtFrom.Text               = string.Empty;
         this.TxtTo.Text                 = string.Empty;
         this.TxtFrom.ReadOnly           = false;
         this.TxtTo.Visible              = false;
         this.VisibilityTo.Visible       = false;
         this.VisibilityFrom.Text        = Utils.Languages.GetLabelFromCode("VisibilityOneField", language);
         this.txt_codAuthor_E.Text       = string.Empty;
         this.txt_descrAuthor_E.Text     = string.Empty;
         this.IdRecipient.Value          = string.Empty;
         this.rblOwnerType.SelectedIndex = -1;
         this.rblOwnerType.Items.FindByValue("R").Selected = true;
         this.ddlEvent.SelectedIndex = 0;
         loadGrid(null);
         UpContainer.Update();
         panelButtons.Update();
     }
     catch (System.Exception ex)
     {
         UIManager.AdministrationManager.DiagnosticError(ex);
         return;
     }
 }
Exemplo n.º 2
0
 protected void GridEvents_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     try {
         GridEvents.PageIndex       = e.NewPageIndex;
         GridEvents.SelectedIndex   = e.NewPageIndex;
         this.GridEvents.DataSource = Session["logFascicolo"];
         this.GridEvents.DataBind();
         UpContainer.Update();
         panelButtons.Update();
         UpdPanelEvents.Update();
         UpUserControlHeaderProject.Update();
     }
     catch (System.Exception ex)
     {
         UIManager.AdministrationManager.DiagnosticError(ex);
         return;
     }
 }