Click here to Skip to main content
15,886,731 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a combobox in silverlight page which is having 5 values as-->

1)Wasif
2)Peter
3)Himani
4)Rorger
5)John

As soon as i select any of them selectedchanged event fires that is correct.
What I want is if I select Wasif,Peter,Himani and John then selectedchanged event should fire but when i select Rorger I do not want to fire selectedchanged of combobox.

Please help
Wasif
Posted
Comments
Richard C Bishop 1-May-13 10:21am    
You cannot prevent the event handler from running when you cause an event. However, you can check which item is selected before running some code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900