ImageButton instantiated need to access imageUrl from the frontend code


D

dphizler

Hello,

I'm not every knowledgeable about ASP.Net so if I'm at the wrong place, let me know.

I need to find out how to do the following:

I have this in my behind code in a dll:
ImageButton hlImageLink = e.Item.FindControl("hlImageLink") as ImageButton;

So I can't modify that.

But I need to access that hlImageLink.imageUrl in the frontend code.

A bit like this:
<asp:Image ID="hlImageLink" CssClass="scale-up" runat="server" />

All I want is to display the image but I can't modify the object type in the behind code

Any ideas?
 
Ad

Advertisements


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

Top