Last post Feb 24, 2013 02:42 AM by nguyendc0408
Feb 19, 2013 07:10 AM|nguyendc0408|LINK
I want to create a custom webcontrol that I can use it like below:
<myControls:MyGraph id="myGraph1" runat="server">
<myControls:ColorD Value="#abcdef" />
<myControls:Color> Blue </myControls:Color>
<myControls:ColorD Value="#1ad234" />
<myControls:ColorD Value="#123456" />
I mean, I want to get many tags <Color>, <ColorD> in only one tag: <Colors> tag, and get the order of them too.
May Someone help me, please.
Thanks and best regards,
Feb 20, 2013 01:26 AM|Pengzhen Song - MSFT|LINK
Maybe you can try using writer.RenderBeginTag and writer.RenderEndTag().
Please refer here
Hope it is helpful to you.
Feb 24, 2013 02:42 AM|nguyendc0408|LINK
Hi Pengzhen, thanks for your answer.
But I mean I want to create web control to
USE like that, not result...