Is this possible?

  • Thread starter Thread starter Carlos Cordon
  • Start date Start date
C

Carlos Cordon

I'm trying to assign properties to an Image at runtime (Like Source, Map,
etc). How can it be done?

I vas trying something like this:

<IMG src='<%# "../images/" & ImageToLoad.Nombre %>' useMap="<%#
ImageToLoad.NombreMapa %>" border=0 ><%# ImageToLoad.Mapa %>

ImageToLoad is a Structure that contains Strings that shoul be plced there.
but when I chek th Source on the browser for the loaded page it has this:

<IMG src='' useMap="" border=0 >

Thanks,
 
Back
Top