<img> access from server

  • Thread starter Thread starter anony
  • Start date Start date
A

anony

Is it possible to put runat=server in an <img> tag and set its visible
property via a server call? If so, how do I find/cast the <img>? Using
vb.net.

Thanks for any help,

Brian
 
Hi Brian,

It sure is possible:

(declaration)

Protected image1 As System.Web.HtmlControls.HtmlImage

(usage)

image1.Visible = [True/False]

Matt Hawley, MCAD .NET http://www.eworldui.net

Is it possible to put runat=server in an <img> tag and set its visible
property via a server call? If so, how do I find/cast the <img>? Using
vb.net.

Thanks for any help,

Brian
 
Back
Top