private void ShowOngoingcomplaints()
 {
     try
     {
         if (Session["propertyvalue"] != null)
         {
             string tc_PropertyVal = Session["propertyvalue"].ToString();
             ListView2.DataSource = uc.GetOngoingComplaints(tc_PropertyVal);
             ListView2.DataBind();
         }
         else
         {
             Session["propertyvalue"] = "0";
         }
     }
     catch (Exception ex)
     {
         string text = ex.Message.ToString();
         ScriptManager.RegisterStartupScript(this, typeof(Page), "Warning", "<script>showpoperror('" + text + "')</script>", false);
     }
 }