When I create a custom control that inherits from the DropDownList I can Implement INamingContainer but I can not do this for a RadioButtonList (error states that it is already implemented by the RadioButtonList control).
I use an xsd to define a schema for HTML intellisense. For the DropDownList that Implements INamingContainer I can add <asp:ListItems> to the control in the HTML view. When I do the same thing for the RdaioButtonList the ListItems that itellisense offers are the type of my web control library (MyCntrlLib) So rather then seeing <asp:listitem> I see <mycntrllib:listitem>. I do not have a listitem defined for this library and I get a run time error.
Any suggestions?
I use an xsd to define a schema for HTML intellisense. For the DropDownList that Implements INamingContainer I can add <asp:ListItems> to the control in the HTML view. When I do the same thing for the RdaioButtonList the ListItems that itellisense offers are the type of my web control library (MyCntrlLib) So rather then seeing <asp:listitem> I see <mycntrllib:listitem>. I do not have a listitem defined for this library and I get a run time error.
Any suggestions?