G
Guadala Harry
In an aspx page I have declared an Image control:
<asp:Image id="myImage" runat="server"></asp:Image>
In the code-behind I populate it's ImageURL property, like this:
myImage.ImageUrl = "some.gif";
Then, in client-side JavaScript, the user can cause the image to be
replaced, like this:
document.all("myImage").src = "other.gif";
Here's the problem: on postback, the image control's .ImageUrl property
still contains "some.gif" and not "other.gif" as I am needing.
What do I need to do to receive - during postback - the value set in the
client by the JavaScript?
Thanks!
<asp:Image id="myImage" runat="server"></asp:Image>
In the code-behind I populate it's ImageURL property, like this:
myImage.ImageUrl = "some.gif";
Then, in client-side JavaScript, the user can cause the image to be
replaced, like this:
document.all("myImage").src = "other.gif";
Here's the problem: on postback, the image control's .ImageUrl property
still contains "some.gif" and not "other.gif" as I am needing.
What do I need to do to receive - during postback - the value set in the
client by the JavaScript?
Thanks!