i want to change the selectedindex of combo but its not working. Please someone help me to indentify where is my mistake
protected void WebCombo1_SelectedRowChanged(object sender, Infragistics.WebUI.WebCombo.SelectedRowChangedEventArgs e)
if (true)
this.WebCombo1.SelectedIndex = -1;
}
Hello,
= -1 ?? What means -1 for you ?
Anyway, I don't think it's ok to change the selected index of the webcombo during the WebCombo1_SelectedRowChanged event handler.
This event is raised after the selected index has been changed by the user, and for this reason it doesn't seem to be a suitable place to think of changing the selected index the way you do.