Is this possible?

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,
 
C

Carlos Cordon

Can I send it Map information or the entire image has to be linked?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top