ASArun Srinivasan Syncfusion Team October 9, 2003 01:06 PM
We were unable to reproduce the behaviour you state above. Can you post information on how we can reproduce what you are encountering so that we can take a look
PEPeterOctober 10, 2003 10:40 AM
private void comboBoxExt1_Validating(object sender, System.ComponentModel.CancelEventArgs e)
// Logic code here
// This code will get executed on the selection changed event if the user selected an item and during the validating event
private void comboBoxExt1_SelectionChangeCommitted(object sender, System.EventArgs e)
// check: is custom
if (listControl1.SelectedIndex == -1)
ASArun Srinivasan Syncfusion Team October 10, 2003 03:49 PM
Thanks for the update. Validating will be called whenever the control loses focus and I guess that is what you are referring to when you say that it is called twice as it is called in your SelectionChangeCommitted event.
You could overcome this by setting a boolean flag and toggle it's value in your validation logic of both SelectionChangeCommitted and Validating events to ensure that it is called only once.