Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on combobox behavior
Message
From
19/01/2003 17:50:21
 
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00743291
Message ID:
00743311
Views:
10
Kevin,

Assuming that your DataSource is a Table, you can put a filter on it's DefaultView to filter out the items that you don't want to show.

~~Bonnie


>Let's say I have a combo box that's populated with five items...but at various times I might want to programatically disable certain items [e.g. disable the 4th and 5th]
>
>In VFP, I can populate the combo box and put a '\' in front of every individual item that I want to disable. It doesn't seem that .NET recognizes this.
>
>Is there any way this can be done?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform