protected void Page_Load(object sender, EventArgs e) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; string js = string.Format("javascript:processInvoiceServiceType(this, '{0}', '{1}');", txtServiceDescription.ClientID, txtServiceQty.ClientID); //ddlInvoiceServiceType.Attributes.Add("onchange", js); }
public void bindData(int claimID) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; List<ClaimService> services = null; services = loadClaimServices(claimID); gvClaimService.DataSource = services; gvClaimService.DataBind(); bindActivity(); bindServiceTypes(); //if (ddlInvoiceServiceType.Items.Count < 2) //if only the --select-- is available show pop up //{ // popup.Show(); //} }
public void bindData(int claimID) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; List <ClaimService> services = null; services = loadClaimServices(claimID); gvClaimService.DataSource = services; gvClaimService.DataBind(); bindActivity(); bindServiceTypes(); //if (ddlInvoiceServiceType.Items.Count < 2) //if only the --select-- is available show pop up //{ // popup.Show(); //} }
public void bindData(int claimID) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; int clientID = SessionHelper.getClientId(); List <ClaimExpense> expenses = null; List <ExpenseType> expenseTypes = null; expenses = loadExpenses(claimID); if (Session["ComingFromAllClaimsExpense"] != null) { pnlEditExpense.Visible = true; } gvExpense.DataSource = expenses; gvExpense.DataBind(); if (Session["ComingFromAllClaimsExpense"] != null) //NEW OC 10/20/2014 ADDED to handle if coming from the all claims screen on the "addNote" button { var proID = Session["CarrierInvoiceID"]; //only thing that changed using (ExpenseTypeManager repository = new ExpenseTypeManager()) { expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID } Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes); Session["ExpenseCount"] = ddlExpenseType.Items.Count; } else { var proID = Session["InvoiceProfileID"]; using (ExpenseTypeManager repository = new ExpenseTypeManager()) { expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID } Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes); Session["ExpenseCount"] = ddlExpenseType.Items.Count; } }
protected void Page_Load(object sender, EventArgs e) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; // check permissions if (Core.PermissionHelper.checkViewPermission("UsersLeads.aspx") && !Core.PermissionHelper.checkEditPermission("UsersLeads.aspx")) masterPage.disableControls(this.pnlContent, false); showFormFields(); Session["InvoiceProfileID"] = ddlCarrierInvoiceProfile.SelectedValue; var a = Session["InvoiceProfileID"]; }
protected void Page_Init(object sender, EventArgs e) { masterPage = (CRM.Web.Protected.ClaimRuler) this.Page.Master.Master; //lbtnNewComment.Visible = Core.PermissionHelper.checkAddPermission("UsersLeads.aspx"); }
protected void Page_Load(object sender, EventArgs e) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; }
public void bindData(int claimID) { masterPage = this.Page.Master.Master as Protected.ClaimRuler; int clientID = SessionHelper.getClientId(); List<ClaimExpense> expenses = null; List<ExpenseType> expenseTypes = null; expenses = loadExpenses(claimID); if(Session["ComingFromAllClaimsExpense"] != null) { pnlEditExpense.Visible = true; } gvExpense.DataSource = expenses; gvExpense.DataBind(); if (Session["ComingFromAllClaimsExpense"] != null)//NEW OC 10/20/2014 ADDED to handle if coming from the all claims screen on the "addNote" button { var proID = Session["CarrierInvoiceID"]; //only thing that changed using (ExpenseTypeManager repository = new ExpenseTypeManager()) { expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID } Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes); Session["ExpenseCount"] = ddlExpenseType.Items.Count; } else { var proID = Session["InvoiceProfileID"]; using (ExpenseTypeManager repository = new ExpenseTypeManager()) { expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID } Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes); Session["ExpenseCount"] = ddlExpenseType.Items.Count; } }