Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom DropDownList v RadioButtonList (ListItem problem)

Status
Not open for further replies.

rpeters74

Programmer
May 24, 2002
46
0
0
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top