B
bobben
Does anyone know if it is possible to emit a imagebutton with a bitmap
within a custom control.
In other words; I want the custom control to be selfcontained, and not have
to rely on a aspx page to be able to display an imagebutton with a
dynamically stored image. (From a database or loaded from a resource file.)
All I can find is this:
(...)
MemoryStream tempStream = new MemoryStream();
bitmap.Save(Page.Response.OutputStream,ImageFormat.Gif );
But then I am relying on a separate aspx page as a source for my
imagebutton.
Anyone knows any good techniques?
Børge
within a custom control.
In other words; I want the custom control to be selfcontained, and not have
to rely on a aspx page to be able to display an imagebutton with a
dynamically stored image. (From a database or loaded from a resource file.)
All I can find is this:
(...)
MemoryStream tempStream = new MemoryStream();
bitmap.Save(Page.Response.OutputStream,ImageFormat.Gif );
But then I am relying on a separate aspx page as a source for my
imagebutton.
Anyone knows any good techniques?
Børge