I use an ASP.NET ImageButton on my website. When a user clicks on the ImageButton, a javascript is fired via the OnClientClick event. The script changes the ImageUrl of the ImageButton.
On the same page, I have a submit button.
Clicking the button causes a post back to appear.
Is there a way of knowing the correct ImageUrl of the ImageButton from serverside now when processing the serverside OnClick event of the submit button?