try { if (e.CommandName == "do") { GridViewRow row = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer); Session["reg_no"] = ((HiddenField)row.FindControl("hidRegNo")).Value; string CS_FLAG = ((HiddenField)row.FindControl("hid_Flag")).Value; Session["CS_IS_HANDLE"] = ((HiddenField)row.FindControl("hid_IsHandle")).Value; if (CS_FLAG == "Y") { this.lnk_Enlarge.Visible = false; Panel_Disable(); lblStatus.Text = "This Account is locked and has moved to supervisor"; ModalPopupExtender.Show(); } else { Session["Loan_acct"] = ((HiddenField)row.FindControl("hidLoanNo")).Value; Session["Cycle_cut"] = ((HiddenField)row.FindControl("hidCycleCut")).Value; Session["Bucket_Code"] = ((HiddenField)row.FindControl("hidBucketCode")).Value; Session["Module"] = ((HiddenField)row.FindControl("hid_Mod")).Value; Session["Product"] = ((HiddenField)row.FindControl("hid_Prod")).Value; Session["City"] = ((HiddenField)row.FindControl("hid_City")).Value; Session["Billing_Cycle"] = ((HiddenField)row.FindControl("hid_BillingCycle")).Value; this.Tabs.Visible = true; this.pnl_ActLog.Visible = true; ShowFinancial(); ShowSituationSummary(); Show_PIL_Overdue(); ShowActivity(); ShowAppInfo(); ShowDelinquencyHistory(); ShowSchedule(); ShowContacts(); Show_Diary(); Load_All(); Show_Actions(); Show_DiaryNote(); Reset(); } } lbl_Status.Text = ""; } catch (Exception ex) { throw new Exception("Application Error: " + ex.Message); }
GridView1.EditIndex = 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)