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.
|All times are GMT. The time now is 01:44 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.