Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute code before SelectedIndexChanged in combobox occ
Message
From
22/02/2005 18:46:05
 
 
To
22/02/2005 18:32:11
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00983452
Message ID:
00989469
Views:
33
>Why do you think that propably would work?
>
>that code allows you decide if selected index will change or not.<


Yeah, ok, so what's your point? My point in an earlier post in this thread (although I probably didn't come right out and say it) was that this kind of stuff is probably best put into a control's sub-class (ComboBox in this case), rather than in the Form where you're using the Combo. This is the kind of functionality that you may want to have with other Combo's, not just this particular one. You put the functionality for it to work in the sub-class and then you don't have to worry about copy/pasting code every time you drop a ComboBox on a Form.

~~Bonnie
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