protected void BindCustomerAlertSetup()
 {
     try
     {
         if (txtCustomerId.Value == "")
         {
             ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "pageloadscript", "alert('Please Select Valid Data!');", true);
             return;
         }
         else
         {
             DataTable dtCustomerSIPAlert = alertBo.GetCustomerSIPAlert(int.Parse(txtCustomerId.Value));
             if (dtCustomerSIPAlert.Rows.Count > 0)
             {
                 if (Cache["CustomerSIPAlert" + adviserVo.advisorId] == null)
                 {
                     Cache.Insert("CustomerSIPAlert" + adviserVo.advisorId, dtCustomerSIPAlert);
                 }
                 else
                 {
                     Cache.Remove("CustomerSIPAlert" + adviserVo.advisorId);
                     Cache.Insert("CustomerSIPAlert" + adviserVo.advisorId, dtCustomerSIPAlert);
                 }
                 gvCustomerAlertSetup.DataSource = dtCustomerSIPAlert;
                 gvCustomerAlertSetup.DataBind();
                 tblCustomerAlertSetup.Visible = true;
             }
             else
             {
                 gvCustomerAlertSetup.DataSource = dtCustomerSIPAlert;
                 gvCustomerAlertSetup.DataBind();
                 tblCustomerAlertSetup.Visible = true;
             }
         }
     }
     catch (BaseApplicationException Ex)
     {
         throw Ex;
     }
     catch (Exception Ex)
     {
         BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
         NameValueCollection      FunctionInfo = new NameValueCollection();
         FunctionInfo.Add("Method", "AdviserAlertConfiguration.ascx.cs:BindSIPDescription()");
         object[] objects = new object[1];
         FunctionInfo = exBase.AddObject(FunctionInfo, objects);
         exBase.AdditionalInformation = FunctionInfo;
         ExceptionManager.Publish(exBase);
         throw exBase;
     }
 }