Hi Hema,
Thanks for your prompt reply.
But the code snippent that you provided is not working i.e it's not being able to change the dropdown to the initial state.
Thanks & Regards,
Subrata
>Hi Subrata,
Thank you for your interest in Syncfusion Products.
Please refer the below code snippets and let me know if this meets your requirement.
for (int i = 0; i < this.comboBoxAutoComplete1.AutoCompleteControl.TableData.Rows.Count; i++)
{
if (comboBoxAutoComplete1.AutoCompleteControl.TableData.Rows[i][0].ToString() == str)
{
comboBoxAutoComplete1.SelectedText = comboBoxAutoComplete1.AutoCompleteControl.TableData.Rows[i][0].ToString();
flag = false;
}
}
Please refer the sample that above illustrates.
http://websamples.syncfusion.com/samples/Tools.Windows/F75869//main.htmPlease let me know if any concerns.
Regards,
Hema