ASP.NET: Custom subtags
Can I develop a control which allows me to do something like this:
<MyRadioList>
<MyRadioButton/>
<MyRadioButtonWithInfoButton/>
<MyRadioButton/>
<MyRadioButtonWithBlueColor/>
</MyRadioList>
That is, I can place my own control-tags inside my radio 开发者_如何学运维list.
Can it be done with templated user controls?
Create a new RadioList control by extending the built-in one. Same for the ListItem object, too. You don't need a template for this situation.
精彩评论