Hi,
When using a RadDropDownList component and the RadVirtualKeyboard component I have a problem. The AutoCompleteMode.Suggest works fine the first time I click on RadVirtualKeyboard but for the other clics the suggested items don't appears on the screen.
Regards
Gilles
public RadForm1()
{
InitializeComponent();
this.radDropDownList1.AutoCompleteMode = AutoCompleteMode.Suggest;
this.radDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.PopupClosing += radDropDownList1_PopupClosing;
this.radDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.ListElement.MouseDown += ListElement_MouseDown;
}
bool shouldCancel = true;
private void radDropDownList1_PopupClosing(object sender, RadPopupClosingEventArgs args)
{
args.Cancel = shouldCancel;
shouldCancel = true;
}
private void ListElement_MouseDown(object sender, MouseEventArgs e)
{
shouldCancel = false;
}
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Hello, Gilles,
Indeed, the popup with suggestions will be closed after the first click on RadVirtualKeyboard.
I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to cancel closing the suggest's popup:
public RadForm1()
{
InitializeComponent();
this.radDropDownList1.AutoCompleteMode = AutoCompleteMode.Suggest;
this.radDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.PopupClosing+=radDropDownList1_PopupClosing;
}
private void radDropDownList1_PopupClosing(object sender, RadPopupClosingEventArgs args)
{
args.Cancel = true;
}
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik