To access it by C# (or whatever language) you need to use runat="server" in
there.  Or, you could use the asp:image tag also.

David L. Penton, Microsoft MVP
JCPenney Technical Specialist / Lead
"Mathematics is music for the mind, and Music is Mathematics for the
Soul. - J.S. Bach"
[EMAIL PROTECTED]

Do you have the VBScript Docs or SQL BOL installed?  If not, why not?
VBScript Docs: http://www.davidpenton.com/vbscript
SQL BOL: http://www.davidpenton.com/sqlbol

-----Original Message-----
From: Ben Joyce [mailto:[EMAIL PROTECTED]]

q: if I have an image in my page (<img id="this"... />) should I be able
to access it from the code-behind?  so, for example... in a
Button1_OnClick() event could I change the source (src_ of the image?

Doesn't seem to work :(

Many thanks.

 .b


---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to