title: Response.write line of code in button click event handler is executed on page load
body: <p>I have some javascript on an asp.net page code behind, but whenever the page loads, the code (response.write, and in an asp.net button click event handler), is fired.</p>
  
  <p>Is this a bug? I want to only fire that response.write line of code obviously when the button is clicked, not on the page's load. How could I achieve this?</p>
  
  <p>Thanks</p>