17 Answers, 1 is accepted
Thank you for writing.
These issues have been addressed in the upcoming Q2 2010 Service Pack. Thank you for your feedback and write again if you need assistance with our controls.
Sincerely yours,
Victor
the Telerik team
Thank you for the question.
It seems that the fix for this issue did not make it to the service pack branch. We will be releasing an internal build today or on Monday which will have the fix.
Please write again if you have other questions.
Regards,
Victor
the Telerik team
Thanks for writing.
Service Pack 2 is scheduled for the first half of September.
Let me know if you have further questions.
Greetings,
Peter
the Telerik team
Thank you for writing back.
I confirm that the incorrect behavior still occurs in our latest release. I believe that we will manage to provide a fix for this issue in our next official release.
Please accept our sincere apologies for the inconvenience. I have updated your Telerik points for your feedback.
Peter
the Telerik team
Also missing is the ability to clear the combobox if an incorrect value is selected (AKA Limit to list). Still working on figuring out a workaround for that one...
Thank you for contacting us.
Please find the answer in your support ticket #359276. There you will find an internal build that addresses the issue. The fix will be included in the official Q3 2010 scheduled for the first half of Novermber.
Do not hesitate to contact us if you have additional questions.
Peter
the Telerik team
There is no workaround for the issue and this is why Peter did not share it here. The solution that we provided to the customer was in the form of a special build that addresses the issue, but since the build was for licenses users only, we could not make it publicly available in our forums.
Still, please note that the issue has been addressed in Q3 2010, while our latest version is Q2 2011 SP1. In order words, the issue is addressed in Q2 2011 SP1 as well. If you have a scenario which we missed to check while addressing the issue, I would kindly ask you to open a new support ticket and send us a sample project which demonstrates your case. This will allow us to consider your scenario as well and address the issue in a future release.
Nikolay
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.
Steps to reproduce:
- Create a form.
- Add a RadDropDownList to the form.
- Add a RadTextBox to the form.
- Add the following code behind the form:
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim a() As String = {"Test 1", "Test 2", "Test 3", "Test 4"}
With Me.RadDropDownList1
.AutoCompleteMode = AutoCompleteMode.SuggestAppend
.SelectedIndex = -1
.SelectedText = ""
.Items.Clear()
.Items.AddRange(a)
End With
End Sub
- Type "asdf" into the RadDropDownList
- Press tab.
- Text "asdf" remains in the list; autocomplete was never engaged; the control appears valid, even though nothing has been selected.
Please direct me to whatever build is required to address this issue, as it isn't available to me that I can see (and I've purchased the controls).
Thank you for writing back.
Please note that the scenario that you have and the original scenario described by Andrew are actually different. Here is the Andrew's scenario:
1. You have a DropDownList filled with countries: Usa, Canada, Spain, France.
2. You type the letter "U". There is a record that starts with "U" in the list of records.
In the versions prior to Q3 2010, if you tab off the DropDownList after the letter "U" is typed, "USA" is not selected which is an issue. We addressed this issue in the custom build sent to the client and in the Q3 2011 SP1.
Here is your case:
1. You have a DropDownList filled with countries: Usa, Canada, Spain, France.
2. You type "T" (for example, for Taiwan). However, there is no record starting with "T", so the AutoComplete feature is not engaged.
3. You tab off the DropDownList and the text "T" remains in the RadDropDownList.
Point 3) of your scenario is not an issue, but is the way RadDropDownList should behave. We are following the behavior of the Microsoft ComboBox control which behaves the same way.
I hope this clarifies the case and the difference between your scenario and the scenario that Andrew had.
Nikolay
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.
Thanks. You are correct in that this is the default performance of the Microsoft control.
Have you any idea how to go about forcing "limit to list" behaviour on this control?
Thanks,
-D
When the DropDownStyle is set to DropDownList, the end-user is not allowed to type text which does not exist in the items. Please note that when this mode is enabled, the AutoComplete modes are not available.
Best wishes,Nikolay
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.
''' <summary>
''' Adds event handlers for various combobox events
''' </summary>
''' <remarks></remarks>
Private Sub AddHandlers()
AddHandler cboMain.LostFocus, AddressOf HandleCBOEvent
AddHandler cboMain.Click, AddressOf HandleCBOEvent
AddHandler cboMain.SelectedIndexChanged, AddressOf HandleCBOEvent
AddHandler cboMain.TextChanged, AddressOf HandleCBOEvent
End Sub
''' <summary>
''' Removes handlers for combobox events
''' </summary>
''' <remarks></remarks>
Private Sub RemoveHandlers()
RemoveHandler cboMain.LostFocus, AddressOf HandleCBOEvent
RemoveHandler cboMain.Click, AddressOf HandleCBOEvent
RemoveHandler cboMain.SelectedIndexChanged, AddressOf HandleCBOEvent
RemoveHandler cboMain.TextChanged, AddressOf HandleCBOEvent
End Sub
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub HandleCBOEvent(ByVal sender As Object, ByVal e As System.EventArgs)
'// Begin "limit to list" functionality
If MyBase.DataTable Is Nothing Then Exit Sub
If MyBase.Initializing = True Then Exit Sub
'// Make sure we don't overflow with events, as we'll be tinkering
RemoveHandlers()
If String.IsNullOrEmpty(Me.cboMain.Text) Then
'// make sure there's nothing selected
Me.cboMain.SelectedIndex = -1
ElseIf Not Me.cboMain.Items.Contains(Me.cboMain.Text) Then
'// make sure there's nothing selected, and eat their text
Me.cboMain.Text = ""
Me.cboMain.SelectedIndex = -1
End If
'// End "limit to list" functionality
'// Put the events back in place, as we're done tinkering
AddHandlers()
'// End "limit to list" functionality
End Sub
I am glad to hear that you managed to find a solution for your scenario. Write back if you have additional questions.
Best wishes,Nikolay
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.