protected void gvClaimUploadDtl_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     try
     {
         GridViewRow gvrow        = (GridViewRow)(((ImageButton)e.CommandSource).NamingContainer);
         string      DataUniqueId = gvClaimUploadDtl.DataKeys[gvrow.RowIndex].Value.ToString();
         if (e.CommandName == "PrintEntry")
         {
             clsInputParameter objInputParameter = new clsInputParameter();
             objInputParameter.DataUniqueId = Convert.ToInt64(DataUniqueId);
             objInputParameter.RequestUrl   = Request.QueryString["ID"].Trim();
             Session["InputParameter"]      = objInputParameter;
             Session["ReportName"]          = "VariableClaimPrize";
             Response.Redirect("rptViewAppReport.aspx");
         }
         else if (e.CommandName == "DeleteEntry")
         {
             bool isDeleted = objLtmsService.DeleteInVariableClaimByVoucherId(Convert.ToInt64(DataUniqueId));
             if (isDeleted == true)
             {
                 BindClaimGvData();
                 ScriptManager.RegisterStartupScript(this, GetType(), "MyMsg", "alert('Claim information deleted.');", true);
             }
         }
     }
     catch (Exception Ex)
     {
         objValidateData.SaveSystemErrorLog(Ex, Request.UserHostAddress);
         var message = new JavaScriptSerializer().Serialize("Some Error has occurred while performing your activity. Please contact the System Administrator for further assistance.");
         var script  = string.Format("alert({0});", message);
         ScriptManager.RegisterClientScriptBlock(this, GetType(), "", script, true);
     }
 }