title: Setting window.location on a LinkButton's onClientClick from code behind
body: <p>Can't be this hard can it!? I just want to change window.location onclientclick of a linkbutton and set this from code behind.</p>
  
  <pre><code>lb.OnClientClick = "window.location = 'Contact.aspx'";
  </code></pre>
  
  <p>Not working, just reloads the current page.</p>
  
  <pre><code>lb.OnClientClick = "window.location = '" + Server.MapPath("Contact.aspx") + "'";
  </code></pre>
  
  <p>Seems to resolve the url correctly (the dev folder on my C drive) but is denying me access!?</p>