Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Imagebutton: how to load images from embedded resource (http://www.velocityreviews.com/forums/t780007-imagebutton-how-to-load-images-from-embedded-resource.html)

Ping Xie 07-05-2007 01:06 PM

Imagebutton: how to load images from embedded resource
 
We are implementing custom imagebuttons by inheriting .Net ImageButton. In
order to "brand" the applications that use our buttons, a set of standard
images are provided to the buttons and the ImageUrl property is hidden by our
button classes. Our image buttons will be deployed as an assembly (dll). We
would like to include the images as embeded resources of the assembly. Now I
don't know how to set the ImageUrl to load the images from the embeded
resource. It seems ImageUrl only takes the path to the Web application. Does
any one know how to do it?

Thank you for your help in advance.

Ping



All times are GMT. The time now is 09:53 AM.

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