This is a migrated thread and some comments may be shown as answers.

Combox drop down covers input box

1 Answer 66 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 06 Jun 2008, 06:30 PM
I am having an issue with the drop down portion of the combo box staying dropped after a selection is made and the selectedIndexChange event is fired.  
I am using the selectedIndexChanged event to pop up a input box asking the user to input a qty.  The drop down is not hiding when a selection is made.  It stays up in the way of the input box until the input box is completed. 

Here is my code. 

'Code for filing combobox.

drpModelNumber.AutoCompleteMode = AutoCompleteMode.Suggest

drpModelNumber.DataSource = oUnitsDT

drpModelNumber.DisplayMember =

"Part_Number"

'code for selected index

Private Sub drpModelNumber_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles drpModelNumber.SelectedIndexChanged

InputBox(

"Please Enter the Quantity", "Quantity", "", , )

End Sub

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 09 Jun 2008, 04:11 PM
Hi Mike,

Thank you for writing.

We're sorry for the inconvenience. This is a known issue which has already been investigated. It concerns the internal system mechanism of displaying message boxes and other windows as the drop-down window. For the time being, we haven't found a complete solution and currently the drop-down windows remain visible until the message box is hidden.

Fortunately, there is a simple workaround:

    radComboBox1.CloseDropDown();

You should add this line before showing the message box (or in your case - input box).

I hope this helps. If you have any additional questions, please don't hesitate to write us again.

Best wishes,
Georgi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Mike
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or