开发者

image embedded in a Custom Server Control

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜