Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   ImageButton instantiated need to access imageUrl from the frontend code (http://www.velocityreviews.com/forums/t954111-imagebutton-instantiated-need-to-access-imageurl-from-the-frontend-code.html)

dphizler@gmail.com 11-01-2012 05:13 PM

ImageButton instantiated need to access imageUrl from the frontend code
 
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?


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57