How to use image in Custom Server Control开发者_运维百科 ?
Create an instance of the System.Web.UI.WebControls.Image
class in your server control and expose whatever properties of it you need through your control, then when you do your rendering, call the Image's rendering. That should let you compose a control using that class without too much extra effort.
精彩评论