protected void txtParentCustomer_TextChanged(object sender, EventArgs e) { if (txtParentCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtParentCustomerId.Value)); DataRow dr = dt.Rows[0]; txtPanParent.Text = dr["C_PANNum"].ToString(); txtAddressParent.Text = dr["C_Adr1Line1"].ToString(); txtParentCustomerType.Value = dr["XCT_CustomerTypeCode"].ToString(); txtMemberCustomer_AutoCompleteExtender.ContextKey = ddlSelectRMs.SelectedValue.ToString() + "|" + txtParentCustomerId.Value; BindRelationshipDropDown(); } }
/// <summary> /// Getting Details of Customer for MFReport when Customer Indivisul login. Author:Pramod /// </summary> protected void IndivisulCustomerLogin() { //CustomerBo customerBo = new CustomerBo(); lblCustomerName.Text = customerVo.FirstName + " " + customerVo.MiddleName + " " + customerVo.LastName; DataTable dt = customerBo.GetCustomerPanAddress(customerVo.CustomerId); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = customerVo.CustomerId.ToString(); txtCustomerPAN.Text = dr["C_PANNum"].ToString(); trCustomerDetails.Style.Add("display", "block"); if (rdoIndividual.Checked) { ShowFolios(); } else { ShowAllCustomer(); } //Storing Customer details in session to Access in Display.aspx for passing report parameter tabViewAndEmailReports.ActiveTab = tabViewAndEmailReports.Tabs[activeTabIndex]; tabViewAndEmailReports.ActiveTabIndex = 0; }
protected void hdnCustomerId_ValueChanged(object sender, EventArgs e) { CustomerBo customerBo = new CustomerBo(); if (hdnCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(hdnCustomerId.Value)); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = hdnCustomerId.Value; txtCustomerPAN.Text = dr["C_PANNum"].ToString(); trCustomerDetails.Style.Add("display", "block"); //trCustomerDetails.Visible = true; //trPortfolioDetails.Visible = true; if (rdoIndividual.Checked) { ShowFolios(); } else { ShowGroupCustomers(); } //Storing Customer details in session to Access in Display.aspx for passing report parameter //CustomerVo customerVo = new CustomerVo(); customerVo = customerBo.GetCustomer(int.Parse(hdnCustomerId.Value)); Session["CusVo"] = customerVo; txtParentCustomer.Text = customerVo.FirstName.ToString() + customerVo.MiddleName.ToString() + customerVo.LastName.ToString(); txtCustomer.Text = customerVo.FirstName.ToString() + customerVo.MiddleName.ToString() + customerVo.LastName.ToString(); hdnCustomerId.Value = ""; } tabViewAndEmailReports.ActiveTab = tabViewAndEmailReports.Tabs[activeTabIndex]; tabViewAndEmailReports.ActiveTabIndex = 0; }
//private void BindBranchDropDown() //{ // try // { // UploadCommonBo uploadsCommonDao = new UploadCommonBo(); // DataSet ds = uploadsCommonDao.GetAdviserBranchList(advisorVo.advisorId, "adviser"); // if (ds != null) // { // ddlMemberBranch.DataSource = ds; // ddlMemberBranch.DataValueField = ds.Tables[0].Columns["AB_BranchId"].ToString(); // ddlMemberBranch.DataTextField = ds.Tables[0].Columns["AB_BranchName"].ToString(); // ddlMemberBranch.DataBind(); // } // ddlMemberBranch.Items.Insert(0, new System.Web.UI.WebControls.ListItem("All", "All")); // } // catch (BaseApplicationException Ex) // { // throw Ex; // } // catch (Exception Ex) // { // BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); // NameValueCollection FunctionInfo = new NameValueCollection(); // FunctionInfo.Add("Method", "RMAMCSchemewiseMIS.ascx:BindBranchDropDown()"); // object[] objects = new object[4]; // FunctionInfo = exBase.AddObject(FunctionInfo, objects); // exBase.AdditionalInformation = FunctionInfo; // ExceptionManager.Publish(exBase); // throw exBase; // } //} //protected void ddlMemberBranch_SelectedIndexChanged(object sender, EventArgs e) //{ // if (ddlMemberBranch.SelectedIndex == 0) // { // txtMember_autoCompleteExtender.ContextKey = advisorVo.advisorId.ToString(); // txtMember_autoCompleteExtender.ServiceMethod = "GetAdviserCustomerName"; // //txtMember_autoCompleteExtender.ContextKey = rmVo.RMId.ToString(); // //txtMember_autoCompleteExtender.ServiceMethod = "GetBMIndividualCustomerNames"; // } // else // { // txtMember_autoCompleteExtender.ContextKey = ddlMemberBranch.SelectedValue.ToString(); // txtMember_autoCompleteExtender.ServiceMethod = "GetPerticularBranchsAllIndividualCustomers"; // } // trPan.Visible = false; // trISAList.Visible = false; // trHoldings.Visible = false; // lblAvailableFolio.Visible = false; // gvAvailableFolio.Visible = false; // lblAttachedFolio.Visible = false; // gvAttachedFolio.Visible = false; // btnGo.Visible = false; // trHoldingType.Visible = false; // lblJointHoldersGv.Visible = false; // lblNomineegv.Visible = false; // pnlAttachedFolio.Visible = false; // pnlAvailableFolio.Visible = false; // gvJointHoldersList.Visible = false; // gvNominees.Visible = false; // txtMember.Text = ""; //} protected void txtCustomerId_ValueChanged(object sender, EventArgs e) { if (txtCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtCustomerId.Value)); DataRow dr = dt.Rows[0]; trPan.Visible = true; trISAList.Visible = true; lblGetPan.Text = dr["C_PANNum"].ToString(); BindISAList(); trHoldings.Visible = false; lblAvailableFolio.Visible = false; gvAvailableFolio.Visible = false; lblAttachedFolio.Visible = false; gvAttachedFolio.Visible = false; btnGo.Visible = false; trHoldingType.Visible = false; lblJointHoldersGv.Visible = false; lblNomineegv.Visible = false; pnlAttachedFolio.Visible = false; pnlAvailableFolio.Visible = false; gvJointHoldersList.Visible = false; gvNominees.Visible = false; } }
private void IndivisulCustomerLogin() { DataTable dt = customerBo.GetCustomerPanAddress(customerVo.CustomerId); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = customerVo.CustomerId.ToString(); txtPAN.Text = customerVo.PANNum; }
protected void txtCustomer_TextChanged(object sender, EventArgs e) { if (txtCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtCustomerId.Value)); DataRow dr = dt.Rows[0]; txtPanCustomer.Text = dr["C_PANNum"].ToString(); txtAddressCustomer.Text = dr["C_Adr1Line1"].ToString(); } }
protected void txtCustomerId_ValueChanged(object sender, EventArgs e) { if (txtCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtCustomerId.Value)); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = txtCustomerId.Value.ToString(); customerVo = customerBo.GetCustomer(int.Parse(hdnCustomerId1.Value)); Session["customerVo"] = customerVo; txtPanParent.Text = dr["C_PANNum"].ToString(); trCustomerDetails.Visible = true; trPortfolioDetails.Visible = true; ShowFolios(); } txtParentCustomerId.Value = null; txtParentCustomer.Text = string.Empty; TabContainer1.ActiveTab = TabContainer1.Tabs[activeTabIndex]; TabContainer1.ActiveTabIndex = activeTabIndex; divGroupCustomers.InnerHtml = string.Empty; }
protected void txtParentCustomerId_ValueChanged(object sender, EventArgs e) { if (txtParentCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtParentCustomerId.Value)); DataRow dr = dt.Rows[0]; txtPanParent.Text = dr["C_PANNum"].ToString(); BindCustomerTradeAccount(); } }
private void IndivisulCustomerLogin() { //lblCustomerIndi.Text = customerVo.FirstName + " " + customerVo.MiddleName + " " + customerVo.LastName; DataTable dt = customerBo.GetCustomerPanAddress(customerVo.CustomerId); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = customerVo.CustomerId.ToString(); txtPAN.Text = customerVo.PANNum; //txtPanParent.Text = dr["C_PANNum"].ToString(); //trCustomerDetails.Style.Add("display", "block"); //ShowFolios(); // trCustomerDetails.Visible = true; //trPortfolioDetails.Visible = true; }
protected void txtCustomerId_ValueChanged(object sender, EventArgs e) { CustomerBo customerBo = new CustomerBo(); if (txtCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtCustomerId.Value)); DataRow dr = dt.Rows[0]; txtPanParent.Text = dr["C_PANNum"].ToString(); txtAddress.Text = dr["C_Adr1Line1"].ToString(); trCustomerDetails.Visible = true; } }
protected void txtParentCustomer_TextChanged(object sender, EventArgs e) { if (txtParentCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtParentCustomerId.Value)); DataRow dr = dt.Rows[0]; txtPanParent.Text = dr["C_PANNum"].ToString(); txtAddressParent.Text = dr["C_Adr1Line1"].ToString(); txtParentCustomerType.Value = dr["XCT_CustomerTypeCode"].ToString(); if (txtParentCustomerType.Value == "IND") { txtMemberCustomer_AutoCompleteExtender.ContextKey = ddlSelectRMs.SelectedValue.ToString() + "|" + txtParentCustomerId.Value; BindRelationshipDropDown(); } else { ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Message", "alert('Selected Parent Customer is a Non Individua.Hence can not Proceed');", true); txtParentCustomer.Text = ""; txtPanParent.Text = ""; txtAddressParent.Text = ""; return; } } }
private void IndivisulCustomerLogin() { lblCustomerIndi.Text = customerVo.FirstName + " " + customerVo.MiddleName + " " + customerVo.LastName; DataTable dt = customerBo.GetCustomerPanAddress(customerVo.CustomerId); DataRow dr = dt.Rows[0]; hdnCustomerId1.Value = customerVo.CustomerId.ToString(); txtPanParent.Text = dr["C_PANNum"].ToString(); trCustomerDetails.Style.Add("display", "block"); ShowFolios(); trCustomerDetails.Visible = true; trPortfolioDetails.Visible = true; TabContainer1.ActiveTab = TabContainer1.Tabs[activeTabIndex]; TabContainer1.ActiveTabIndex = activeTabIndex; }
protected void txtCustomerId_ValueChanged(object sender, EventArgs e) { CustomerBo customerBo = new CustomerBo(); CustomerVo customerVo = new CustomerVo(); if (txtCustomerId.Value != string.Empty) { DataTable dt = customerBo.GetCustomerPanAddress(int.Parse(txtCustomerId.Value)); DataRow dr = dt.Rows[0]; customerVo = customerBo.GetCustomer(int.Parse(txtCustomerId.Value)); Session["CusVo"] = customerVo; txtPanParent.Text = dr["C_PANNum"].ToString(); trCustomerDetails.Visible = true; trPortfolioDetails.Visible = true; ShowFolios(); } TabContainer1.ActiveTab = TabContainer1.Tabs[activeTabIndex]; TabContainer1.ActiveTabIndex = activeTabIndex; }