protected void txtSearch_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (Session["propertyvalue"] != null)
         {
             string propertyvalue = Session["propertyvalue"].ToString();
             GridView1.DataSource = uc.LoadexitAppliedSearch(propertyvalue, txtSearch.Text);
             GridView1.DataBind();
         }
         else
         {
             Session["propertyvalue"] = "0";
             showExitTenants();
         }
     }
     catch (Exception ex)
     {
         string text = ex.Message.ToString();
         ScriptManager.RegisterStartupScript(this, typeof(Page), "Warning", "<script>showpoperror('" + text + "')</script>", false);
     }
 }