protected void carTabPage_ActiveTabChanged(object source, DevExpress.Web.TabControlEventArgs e) { int activeTabIndex = this.carTabPage.ActiveTabIndex; if (activeTabIndex == 1) { Bill_Sys_Event_BO billSysEventBO = new Bill_Sys_Event_BO(); DataSet visits = billSysEventBO.GetVisits(this.txtCasID.Text, this.txtCompanyID.Text); this.grdShowVisit.DataSource = visits; this.grdShowVisit.DataBind(); } }
protected void carTabPage_ActiveTabChanged(object source, DevExpress.Web.TabControlEventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { carTabPage.Visible = true; int iActiveIndex = carTabPage.ActiveTabIndex; if (iActiveIndex == 1) { Bill_Sys_Event_BO objGetVisits = new Bill_Sys_Event_BO(); DataSet dsSpecVisits = new DataSet(); dsSpecVisits = objGetVisits.GetDoctorSpecialtyVisits(txtCompanyId.Text, txtFromDate.Text, txtToDate.Text, extddlSpeciality.Text, extddlDoctor.Text, "PROC"); grdSpecVisits.DataSource = dsSpecVisits; grdSpecVisits.DataBind(); Session["SpecAllVisits"] = dsSpecVisits; } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
/// <summary> /// Click en cambio de pestaña /// </summary> /// <param name="source"></param> /// <param name="e"></param> protected void UiTabs_ActiveTabChanged(object source, DevExpress.Web.TabControlEventArgs e) { }
protected void ASPxPageControl1_ActiveTabChanged(object source, DevExpress.Web.TabControlEventArgs e) { }