473,498 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is this possible?

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,

Nov 18 '05 #1
2 1578
Why don't you use a ASP.NET Image Control?

Gönen.

"Carlos Cordon" <tc******@hotmail.com> wrote in message
news:u9*************@tk2msftngp13.phx.gbl...
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,

Nov 18 '05 #2
Can I send it Map information or the entire image has to be linked?

Thanks

"Gönen EREN" <ge***@fenixidea.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Why don't you use a ASP.NET Image Control?

Gönen.

"Carlos Cordon" <tc******@hotmail.com> wrote in message
news:u9*************@tk2msftngp13.phx.gbl...
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,


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
14457
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
9426
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
2434
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
2335
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
3783
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
6939
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
2516
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
7640
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
3346
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
1983
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7210
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7381
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.