Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

ComboBox SelectedValueChanged won't fire

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
goscottie@gmail.com - 24 Aug 2007 20:51 GMT
I have two comboboxes databound at run time.  I can make a selection
on first one to filter the second one.  This works good with applying
DataView RowFilter on second combobox.  But at that moment, I need to
have the second combobox to fire off SelectedValueChanged event
because the selection has been changed (most likely the top item after
filter applied).  This won't fire currently.  I can, however, make
selection to the combobox manually then it fires off ok.  Is there a
property I can set to set off the event or do I need to find another
event?  DataView is applying filter as I expected but am I wrong to
assume that the event should be fire off after filter has been
applied?  TIA.
rhaazy - 24 Aug 2007 21:47 GMT
This questions would be better suited for a different group, try:

http://groups.google.com/group/DotNetDevelopment?hl=en
Lalit B - 27 Aug 2007 10:12 GMT
This can be the problem if you have set your drop down style as "DropDownList".
Instead change it to "DropDown".
I hope this will solve it.
Signature

Lalit Bhesdadiya

"unknown" wrote:

goscottie@gmail.com - 29 Aug 2007 16:34 GMT
> This can be the problem if you have set your drop down style as "DropDownList".
> Instead change it to "DropDown".
> I hope this will solve it.
> --
> Lalit Bhesdadiya

Lalit,
I tried setting it to DropDown instead of DropDownList.  The event
still doesn't fire off.  I did, however, came up with a workaround.
I'm simply calling my logic just after filter applied.  I'm still
curious how this can work.  Thank you for your suggestion.  Sorry for
the late post.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.