I am trying to show which button was pressed on an aspx form, based on the parameters passed from the previous load of the page.

sample of image button:

<a title="All" href="/MySite/My%20Queue.aspx"> 
    <img alt="All.jpg" src="/MySite/MyQueue/All.jpg" style="margin&#58;5px;" />

but I don't know how to put an if statement to load the image that it's there or a different one, based on the text in the http line.

Any ideas?


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.