protected void btnRTSave_Click(object sender, EventArgs e) { SessionBo.CheckSession(); goalPlanningVo.CustomerId = customerVo.CustomerId; if (customerVo.Dob != DateTime.MinValue) { goalPlanningVo.CustomerAge = (DateTime.Now.Year - customerVo.Dob.Year); } goalPlanningVo.Goalcode = "RT"; if (!string.IsNullOrEmpty(txtRTGoalCostToday.Text)) { goalPlanningVo.CostOfGoalToday = double.Parse(txtRTGoalCostToday.Text); } goalPlanningVo.GoalDate = DateTime.Parse(DateTime.Now.ToShortDateString()); if (hidRTGoalCorpsLeftBehind.Value.ToString() == "1") { goalPlanningVo.CorpusToBeLeftBehind = true; if (!string.IsNullOrEmpty(txtRTCorpusToBeLeftBehind.Text)) { goalPlanningVo.CorpusLeftBehind = int.Parse(txtRTCorpusToBeLeftBehind.Text); } } goalPlanningVo.Priority = "High"; goalPlanningVo.IsOnetimeOccurence = true; goalPlanningVo.CreatedBy = rmVo.RMId; //goalPlanningBo.CreateCustomerGoalPlanning(goalPlanningVo, customerVo.CustomerId, false); msgRecordStatus.Visible = true; }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userBo = new UserBo(); advisorVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; userVo = (UserVo)Session[SessionContents.UserVo]; AssetBo assetBo = new AssetBo(); path = Server.MapPath(ConfigurationManager.AppSettings["xmllookuppath"].ToString()); if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "admin") { roleId = 1000; } else if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "ops") { roleId = 1004; } else if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "rm") { roleId = 1001; } else if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "bm") { roleId = 1002; } if (!IsPostBack) { BindReptReportDashBoard(); } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); UserVo userVo = new UserVo(); RMVo rmVo = new RMVo(); //userType = Session["UserType"].ToString().ToLower(); int branchId; userVo = (UserVo)Session["userVo"]; rmVo = advisorStaffBo.GetAdvisorStaff(userVo.UserId); rmId = rmVo.RMId; Session["rmVo"] = rmVo; branchId = advisorBranchBo.GetBranchId(rmVo.RMId); advisorBranchVo = advisorBranchBo.GetBranch(branchId); Session["advisorBranchVo"] = advisorBranchVo; if (!IsPostBack) { BindBranchDropDown(); bindGrid(0, int.Parse(ddlBMBranch.SelectedValue.ToString()), 1); bindChart(0, int.Parse(ddlBMBranch.SelectedValue.ToString()), 1); } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); string branch = ""; try { if (!IsPostBack) { mypager.CurrentPage = 1; this.BindGrid(); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ViewBranches.ascx.cs:Page_Load()"); object[] objects = new object[2]; objects[0] = branch; objects[1] = branchList; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); userVo = (UserVo)Session["userVo"]; customerVo = (CustomerVo)Session["customerVo"]; portfolioId = int.Parse(Session[SessionContents.PortfolioId].ToString()); if (!IsPostBack) { BindPortfolioDropDown(); LoadGridview(portfolioId); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ViewGovtSavings.ascx.cs:Page_Load()"); object[] objects = new object[3]; objects[0] = userVo; objects[1] = customerVo; objects[2] = portfolioId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); pensionAndGratuitiesVo = (PensionAndGratuitiesVo)Session["pensionAndGratuities"]; ShowPensionDetails(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ViewPensionDetails.cs:Page_Load()"); object[] objects = new object[1]; objects[0] = pensionAndGratuitiesVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); adviserVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; GetUserType(); if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "admin" || Session[SessionContents.CurrentUserRole].ToString().ToLower() == "ops") { userType = "advisor"; } else if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "associates") { userType = "associates"; ddlTypes.Items[0].Enabled = false; } else { userType = Session[SessionContents.CurrentUserRole].ToString().ToLower(); } if (!IsPostBack) { DataSet ds = new DataSet(); Cache["gvProductWiseCustomersCount"] = ds; pnlFolio.Visible = false; pnlSIP.Visible = false; rdpFromDate.SelectedDate = DateTime.Now.AddMonths(-1); rdpToDate.SelectedDate = DateTime.Now.Date; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); advisorVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; userVo = (UserVo)Session[SessionContents.UserVo]; // Get the Repository Path in solution strRepositoryPath = ConfigurationManager.AppSettings["RepositoryPath"].ToString(); // Method to get the Storage Balance & Maximum Storage repoBo = new RepositoryBo(); fStorageBalance = repoBo.GetAdviserStorageValues(advisorVo.advisorId, out fMaxStorage); // Bind View Grid Filters rgRepositoryList_Init(sender, e); if (!IsPostBack) { // Manage Repository Methods BindCategory(); // Clear Session Session[SessionContents.RepositoryVo] = null; } if (Session[SessionContents.RepositoryVo] != null) { BindEditFields(); } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userVo = (UserVo)Session[SessionContents.UserVo]; advisorVo = (AdvisorVo)Session["advisorVo"]; rmVo = (RMVo)Session["rmVo"]; isRedirect = false; if (!IsPostBack) { if (Request.QueryString["ID"] != null) { isRedirect = true; hdnStructId.Value = Request.QueryString["ID"].Trim(); lbtStructureName.Visible = true; SetStructureDetails(); CreateMappedSchemeGrid(); } else { Cache.Remove(userVo.UserId.ToString() + "MappedSchemes"); isRedirect = false; getAllStructures(); ddlStructs.Visible = true; } } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); userVo = (UserVo)Session["rmUserVo"]; advisorVo = (AdvisorVo)Session["advisorVo"]; lblIllegal.Visible = false; lnkAddBranch.Visible = false; if (userVo.UserType == "Branch Man") { SetBranches(); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "BMBranchAssociation.ascx:Page_Load()"); object[] objects = new object[2]; objects[0] = userVo; objects[1] = advisorVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); userVo = (UserVo)Session["userVo"]; ViewRMDetail(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ViewBMProfile.ascx.cs:Page_Load()"); object[] objects = new object[1]; objects[0] = userVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userVo = (UserVo)Session["UserVo"]; path = Server.MapPath(ConfigurationManager.AppSettings["xmllookuppath"].ToString()); advisorVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; rmVo = (RMVo)Session[SessionContents.RmVo]; txtCustomer_autoCompleteExtender.ContextKey = rmVo.RMId.ToString(); BindPortfolioTypeDropDown(); if (!IsPostBack) { if (Request.QueryString["action"] == "EditCustomerPortfolio") { btnSave.Visible = false; portfolioId = int.Parse(Session["PortfolioId"].ToString()); dsPortfolioType = portfolioBo.GetCustomerPortfolioDetails(portfolioId); dtPortfolioType = dsPortfolioType.Tables[0]; txtCustomer.Text = dtPortfolioType.Rows[0]["C_FirstName"].ToString(); txtCustomerId.Value = dtPortfolioType.Rows[0]["C_CustomerId"].ToString(); txtPanCustomer.Text = dtPortfolioType.Rows[0]["C_PANNum"].ToString(); txtAddressCustomer.Text = dtPortfolioType.Rows[0]["C_Adr1Line1"].ToString(); txtPortfolioName.Text = dtPortfolioType.Rows[0]["CP_PortfolioName"].ToString(); txtPMSIdentifier.Text = dtPortfolioType.Rows[0]["CP_PMSIdentifier"].ToString(); ddlPortfolioType.SelectedValue = dtPortfolioType.Rows[0]["XPT_PortfolioTypeCode"].ToString(); btnSubmit.Text = "Update"; } } }
protected void Page_Load(object sender, EventArgs e) { try { tblMessage.Visible = false; SuccessMsg.Visible = false; ErrorMessage.Visible = false; SessionBo.CheckSession(); if (!IsPostBack) { this.BindGrid(); } advisorUserVo = (UserVo)Session[SessionContents.UserVo]; //**************************lblStatusMsg.Text = string.Empty; //lblMailSent.Visible = false; } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "RMCustomerUserDetails.ascx.cs:Page_Load()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void UpdateRTGoalSetUp() { SessionBo.CheckSession(); goalPlanningVo.CustomerId = customerVo.CustomerId; goalPlanningVo.GoalId = int.Parse(ViewState["GoalId"].ToString()); if (customerVo.Dob != DateTime.MinValue) { goalPlanningVo.CustomerAge = (DateTime.Now.Year - customerVo.Dob.Year); } goalPlanningVo.Goalcode = "RT"; if (!string.IsNullOrEmpty(txtRTGoalCostToday.Text)) { goalPlanningVo.CostOfGoalToday = double.Parse(txtRTGoalCostToday.Text); } goalPlanningVo.GoalDate = DateTime.Parse(DateTime.Now.ToShortDateString()); if (hidRTGoalCorpsLeftBehind.Value.ToString() == "1") { goalPlanningVo.CorpusToBeLeftBehind = true; if (!string.IsNullOrEmpty(txtRTCorpusToBeLeftBehind.Text)) { goalPlanningVo.CorpusLeftBehind = int.Parse(txtRTCorpusToBeLeftBehind.Text); } } goalPlanningVo.Priority = "High"; goalPlanningVo.IsOnetimeOccurence = true; goalPlanningVo.CreatedBy = rmVo.RMId; //goalPlanningBo.CreateCustomerGoalPlanning(goalPlanningVo, customerVo.CustomerId, true); }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); string rm = ""; try { if (!IsPostBack) { mypager.CurrentPage = 1; this.BindGrid(); } //if (Session["RM"] != null) //{ // ShowRM(); //} } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "BMStaffView.ascx.cs:Page_Load()"); object[] objects = new object[1]; objects[0] = rmVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); if (!IsPostBack) { userVo = (UserVo)Session[SessionContents.UserVo]; if (userVo.UserType == "Customer") { customerVo = (CustomerVo)Session[SessionContents.CustomerVo]; } else { rmVo = (RMVo)Session[SessionContents.RmVo]; customerVo = (CustomerVo)Session[SessionContents.CustomerVo]; rmId = rmVo.RMId; } userId = userVo.UserId; //BindCustomerListDropDown(rmId); pnlCustomerSelection.Visible = true; pnlNoEntries.Visible = false; pnlNotifications.Visible = false; trSelectCustomer.Visible = false; BindCustomerSpecificNotifications(customerVo); } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); ProcessId = 0; configPath = Server.MapPath(ConfigurationManager.AppSettings["SSISConfigPath"].ToString()); if (Request.QueryString["processId"] != null) { ProcessId = Int32.Parse(Request.QueryString["processId"].ToString()); } if (Session["userVo"] != null) { } else { Session.Clear(); Session.Abandon(); // If User Sessions are empty, load the login control Page.ClientScript.RegisterStartupScript(this.GetType(), "pageloadscript", "loadcontrol('SessionExpired','');", true); } // Get Advisor Vo from Session adviserVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; if (!IsPostBack) { mypager.CurrentPage = 1; // Bind Grid BindEquityTransactionGrid(ProcessId); } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); //identify = Session["id"].ToString(); advisorVo = (AdvisorVo)Session["advisorVo"]; userVo = (UserVo)Session["UserVo"]; rmVo = (RMVo)Session["rmVo"]; if (!IsPostBack) { //if (identify == "1") //{ // Label2.Visible = false; // DropDownList1.Visible = false; // rmVo = advisorStaffBo.GetAdvisorStaff(int.Parse(Session["userId"].ToString())); // setBranchList(); //} //if (identify == "") //{ Label2.Visible = true; DropDownList1.Visible = true; DropDownList1.Items.Clear(); trBranch.Visible = false; trAssociatedBranch.Visible = false; lblError.Visible = false; lblError1.Visible = false; showRM(); //} } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "RMBranchAssocistion.ascx:Page_Load()"); object[] objects = new object[7]; objects[0] = rmVo; objects[1] = advisorVo; objects[2] = advisorBranchVo; objects[3] = index; objects[4] = branchId; objects[5] = identify; objects[6] = userVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); //customerVo = (CustomerVo)Session["customerVo"]; //portfolioId = Int32.Parse(Session[SessionContents.PortfolioId].ToString()); advisorVo = (AdvisorVo)Session["advisorVo"]; userVo = (UserVo)Session["userVo"]; LoadAdvisorFolioGrid(mypager.CurrentPage); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "AdvisorCustomerAccounts.ascx:Page_Load()"); object[] objects = new object[1]; objects[1] = advisorVo; FunctionInfo = exBase.AddObject(FunctionInfo, null);/*, objects*/ exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); path = Server.MapPath(ConfigurationManager.AppSettings["xmllookuppath"].ToString()); userVo = (UserVo)Session["userVo"]; advisorVo = (AdvisorVo)Session["advisorVo"]; AssociatesUserHeirarchyVo associateuserheirarchyVo = new AssociatesUserHeirarchyVo(); if (!IsPostBack) { AgentCode.Value = "0"; associateuserheirarchyVo = (AssociatesUserHeirarchyVo)Session[SessionContents.AssociatesLogin_AssociatesHierarchy]; if (Session[SessionContents.CurrentUserRole].ToString().ToLower() == "associates") { userType = "associates"; if (UserTitle == "SubBroker") { associateuserheirarchyVo = (AssociatesUserHeirarchyVo)Session[SessionContents.AssociatesLogin_AssociatesHierarchy]; if (associateuserheirarchyVo.AgentCode != null) { AgentCode.Value = associateuserheirarchyVo.AgentCode.ToString(); } } } } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userBo = new UserBo(); userVo = (UserVo)Session[SessionContents.UserVo]; adviserVo = (AdvisorVo)Session["advisorVo"]; CustomerVo cusromerVo = new CustomerVo(); cusromerVo = (CustomerVo)Session["customerVo"]; if (!IsPostBack) { if (Session["IsCustomerDrillDown"] != null) { txtCustomerId.Value = cusromerVo.CustomerId.ToString(); BindCustomerAlertSetup(); lblType.Visible = false; ddlType.Visible = false; btngo.Visible = false; //gvCustomerAlertSetup.MasterTableView.IsItemInserted = false; //GridEditableItem gridEditableItem = (GridEditableItem)e.(sender); //gridEditableItem.OwnerTableView.IsItemInserted = false; //this.gvCustomerAlertSetup.MasterTableView.Items[0].EditFormItem.Enabled = false; } } txtCustomerName_autoCompleteExtender.ContextKey = adviserVo.advisorId.ToString(); txtCustomerName_autoCompleteExtender.ServiceMethod = "GetAdviserCustomerName"; txtPansearch_autoCompleteExtender.ContextKey = adviserVo.advisorId.ToString(); txtPansearch_autoCompleteExtender.ServiceMethod = "GetAdviserCustomerPan"; txtClientCode_autoCompleteExtender.ContextKey = adviserVo.advisorId.ToString(); txtClientCode_autoCompleteExtender.ServiceMethod = "GetCustCode"; }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); advisorVo = (AdvisorVo)Session["advisorVo"]; rmVo = (RMVo)Session["rmVo"]; if (!IsPostBack) { BindMutualFundDropDowns(); BindNAVCategory(); LoadAllSchemeList(0); BindProductDropdown(); BindMonthsAndYear(); Session["fltrIsPayLocked"] = null; Session["fltrIsRecLocked"] = null; int day = 1; // btnExportFilteredData.Visible = false; associateuserheirarchyVo = (AssociatesUserHeirarchyVo)Session[SessionContents.AssociatesLogin_AssociatesHierarchy]; if (associateuserheirarchyVo != null && associateuserheirarchyVo.AgentCode != null) { AgentCode = associateuserheirarchyVo.AgentCode.ToString(); ddlSelectMode.Items.FindByText("Both").Enabled = false; ddlSelectMode.Items.FindByText("Online-Only").Enabled = false; } } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userBo = new UserBo(); userVo = (UserVo)Session[SessionContents.UserVo]; adviserVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userVo = (UserVo)Session["userVo"]; customerVo = (CustomerVo)Session["CustomerVo"]; advisorVo = (AdvisorVo)Session["advisorVo"]; HdnAdviserId.Value = advisorVo.advisorId.ToString(); DataTable dt; if (!IsPostBack) { BindAssetGroupDropDown(); LoadNominees(); //Checking whether a General Insurance Portfolio exists or not dt = insuranceBo.ChkGenInsurancePortfolioExist(customerVo.CustomerId); if (dt.Rows.Count > 0) { ViewState["CustomerGIPortfolioId"] = dt.Rows[0][0].ToString().Trim(); } else { ViewState["CustomerGIPortfolioId"] = (insuranceBo.CreateCustomerGIPortfolio(customerVo.CustomerId, userVo.UserId)).ToString(); } } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); advisorVo = (AdvisorVo)Session["advisorVo"]; userVo = (UserVo)Session[SessionContents.UserVo]; if (!IsPostBack) { if (Request.QueryString["action"] != null) { if (Request.QueryString["action"].Trim() == "Edit") { ViewIssueList(int.Parse(Request.QueryString["IssueID"])); btnUpdate.Visible = true; btnGo.Visible = false; ControlEnable(true); } else { ViewIssueList(int.Parse(Request.QueryString["IssueID"])); btnUpdate.Visible = false; btnGo.Visible = false; ControlEnable(false); } } } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); advisorVo = (AdvisorVo)Session[SessionContents.AdvisorVo]; userVo = (UserVo)Session[SessionContents.UserVo]; if (!IsPostBack) { LoadAdminDashBoardDataInCaching(); LoadAdminBranchPerformance(); LoadBranchPerfomanceChart(); LoadRMPerformanceChart(); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "IFAAdminMainDashboard.ascx:Page_Load()"); object[] objects = new object[1]; objects[0] = advisorVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); customerVo = (CustomerVo)Session["customerVo"]; if (!IsPostBack) { portfolioId = int.Parse(Session[SessionContents.PortfolioId].ToString()); BindPortfolioDropDown(); LoadPropertyGrid(portfolioId); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "PortfolioProperty.ascx:Page_Load()"); object[] objects = new object[2]; objects[0] = customerVo; objects[1] = portfolioId; FunctionInfo = exBase.AddObject(FunctionInfo, null);/*, objects*/ exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); userVo = (UserVo)Session[SessionContents.UserVo]; advisorVo = (AdvisorVo)Session["advisorVo"]; BindIssueName(); }
protected void Page_Load(object sender, EventArgs e) { try { SessionBo.CheckSession(); this.Page.Culture = "en-GB"; mfTransactionVo = (MFTransactionVo)Session["MFTransactionVo"]; customerVo = (CustomerVo)Session["CustomerVo"]; userVo = (UserVo)Session["userVo"]; LoadViewFields(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ViewMFTransaction.ascx:Page_Load()"); object[] objects = new object[3]; objects[0] = mfTransactionVo; objects[1] = customerVo; objects[2] = userVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }
protected void Page_Load(object sender, EventArgs e) { SessionBo.CheckSession(); customerVo = (CustomerVo)Session["CustomerVo"]; userVo = (UserVo)Session["userVo"]; advisorVo = (AdvisorVo)Session["advisorVo"]; if (!IsPostBack) { portfolioId = int.Parse(Session[SessionContents.PortfolioId].ToString()); LoadEquityTradeNumbers(); if (Request.QueryString["action"] != "" && Request.QueryString["action"] != null) { customeraccountvo = (CustomerAccountsVo)Session["EQAccountVoRow"]; if (Request.QueryString["action"].Trim() == "Edit") { BtnSetVisiblity(1); EditEQAccountDetails(); } else if (Request.QueryString["action"].Trim() == "View") { BtnSetVisiblity(0); lnkBack.Visible = true; ViewEQAccountDetails(); } } } }