ComboBox SelectedValueChanged won't fire

G

goscottie

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.
 
G

Guest

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.
 
G

goscottie

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,
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top