hyper link server control image url problem

U

Uzi Baruch

Hi

I has a server hyperlink object, with an image url assigned to it.

at render time, two object are created an href one and an image one.

i need to know if someone knows how can i refernce the image object, it does
not get and ID tag.

and more, i want to be able to reference it from the server side if
possible.

Thanks,
Uzi
 
K

Ken Cox [Microsoft MVP]

Is there a reason that you aren't using the imagebutton control? It seems
like it does what you need.

<form id="Form1" method="post" runat="server">
<asp:ImageButton id="ImageButton1" runat="server"
ImageUrl="http://www.gc.ca/images/flag.gif"></asp:ImageButton>
</form>

Ken
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top