title: Stop after refresh post-back in asp.net webpage
body: <p>I am working on asp.net project. I have a search textbox in it. when I search first time it work properly. Then after refresh the page textbox value is not clearing. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>protected void Page_Load(object sender, EventArgs e)
          {            
              if (!Page.IsPostBack)
              {                
                  txtEmployeeID.Text = string.Empty;
              }
              txtEmployeeID.Focus();                        
          }</code></pre>
  </div>
  </div>
  </p>