protected void btnTradeNoAssociation_Click(object sender, EventArgs e) { string HiddenVal = hdnStatusValue.Value; if (Session["AccountId"] != "") { EQAccountId = int.Parse(Session["AccountId"].ToString()); } if (HiddenVal == "1") { bool DeleteTradeAccAssociationCheck; DeleteTradeAccAssociationCheck = CustomerTransactionBo.DeleteTradeAccount(EQAccountId); Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "leftpane", "loadcontrol('CustomerEQAccountView','none');", true); } }