Adding a condition in the url
<p>I would line to add a test condition in an asp.net form such that:</p>

<p>1) From page1.aspx I manually add a query string parameter so that I can trigger the rest of the process in test mode like so: page1.aspx?test=true . This flag must be added in the query string.
2) When I click on a asp.net button in page1.aspx, I am redirected to page2.aspx in test mode 
because of teh attached querystring</p>

<p>It seems that I have to work around the postback model of asp.net this is not very straight forward.</p>

<p>Any idea how I can achieve the above behavior?</p>

<p>Thanks</p>
