Aug 12, 2009 03:48 PM|Ana D.|LINK
I'm trying to create my dropDownList with checkboxes but I'm having a lot of problems.
What I'm trying to do now is override the DropDownList control (as suggested in this forum:
http://www.dotnet247.com/247referenc...42/211693.aspx), but I'm havng problems right in the frist line:
Public Class CheckBoxDropDownList : System.Web.UI.WebControls.WebControl, INamingContainer
System is highlighted and asking me for a declaration ("Declaration expected"). What is wrong then? I created this class in the folder App_Code. Is it correct? Please, I need some help with this.
I'm using ASP.NET 3.5, Visual Studio 2008 and VB.NET. And the DropDownList is inside a GridView.
Please, if you have any suggestion about how to make this CheckBoxDropDownList, please let me know. I'm almost desperate!