Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2013 06:42 AM by nguyendc0408
Feb 19, 2013 11:10 AM|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 05:26 AM|LINK
Maybe you can try using writer.RenderBeginTag and writer.RenderEndTag().
Please refer here
Hope it is helpful to you.
Feb 24, 2013 06:42 AM|LINK
Hi Pengzhen, thanks for your answer.
But I mean I want to create web control to
USE like that, not result...