Last post Nov 03, 2008 12:19 PM by rockinthesixstring
Oct 27, 2008 04:23 PM|rockinthesixstring|LINK
I have never built a custom control before and am in need of something very simple. I need to create a custom control that when dragged onto a page will generate a DropDownList of data. The DropDownList cannot have new items added to it programmatically
and the "catch" is that it needs to have "OptGroups". I still need to be able to access the stuff using DropDownList1.SelectedItem.Whatever
Oct 28, 2008 04:50 PM|rockinthesixstring|LINK
Does anyone have any thoughts on this? I'm sure it's not that hard.. I just don't know where to begin... a short example would be hugely appreciated.
Oct 29, 2008 10:17 PM|rockinthesixstring|LINK
-- bump --
Oct 30, 2008 03:00 AM|Heleboel|LINK
You might start here:
http://msdn.microsoft.com/en-us/library/ms178654.aspx. Check out the first two links:
Web Control Collection Property Example and
Collection Editor Example.
Nov 03, 2008 12:19 PM|rockinthesixstring|LINK
I have looked at these but it really makes no sense to me. Custom server controls is a very forign concept.