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

Cascading ComboBoxes item focus problem

5 Answers 41 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Chris asked on 26 Jan 2016, 03:44 AM
HI

I found a small problem while implementating Cascading ComboBoxes : 

ComboBox - Cascading ComboBoxes
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

The ComboBox Items example as below :

1.Eastern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
2.Western-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
3.Northern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
4.Southern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ

First dropdown the combobox, you'll see that the item was wrapped to 2 lines automatically,
then select 1.Eastern-... then move the caret to LMN position.

Second dropdown the combox and select 2.Western-... you'll find that the carent still focus on LMN position.

The problem is - Could RadComboBox focus to first character automatically after selection ? 
When RadComboBox with long string items, users will confused if long string is ends with spaces.

In Sample.mdf you can find the table dbo.Region, the value of RegionDescription is ends with a long space string :

"Eastern                                           "
"Western                                           "
...
(see C:\Program Files\Telerik\UI for ASP.NET MVC Q3 2015\wrappers\aspnetmvc\Examples\VS2012\Kendo.Mvc.Examples\App_Data\Sample.mdf )

Maybe I can set RadComboBox.DropDownWidth to larger value 
but when user dropdown/select then move the carent to LMN position the problem is still the same.

Best regards

Chris

5 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 26 Jan 2016, 03:52 AM

And there have a bug in sample :

 

ComboBox - Cascading ComboBoxes

 http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

 

When user select the City then change the Contry, the Items/Text of RadComboBox-City is not cleared.

 

 

0
Dimitar
Telerik team
answered on 28 Jan 2016, 04:30 PM
Hello Chris,

I am afraid that I do not understand your exact scenario described. Are you referring to a sample project that you missed to attach? I would suggest you to open a Support ticket and attach a runnable sample application to it, which could be used to reproduce your exact scenario. You can find guidelines how to prepare such a sample in the Isolating a problem in a sample project help article.

As for the demo issue, thank you for bringing it to our attention. I will log it for demo improvement.

Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 01 Feb 2016, 02:21 AM

HI

ComboBox caret position problem

ComboBox items sample (Notice : long string) :

"Eastern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"Western-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"Northern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"Southern-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"

1.dropdown/select any item then move caret to the end of item.

2.dropdown/select other item then you'll find the caret position is not at the start :

"HIJKLMNOPQRSTUVWXYZ" <- Eastern ? Western ? Northern ? Southern ? 

After select, ComboBox should move the caret to the start of item string automatically.

Best regards

Chris

 


0
Accepted
Dimitar
Telerik team
answered on 03 Feb 2016, 09:48 AM
Hi Chris,

Please take a look at the Set Caret Position at the Beginning of the Input in IE help article, which provides a workaround for the issue.

Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 05 Feb 2016, 03:21 AM

Thanks and I hope this solution will built-in within RadComboBox for users.

 

Chris

 

 

Tags
ComboBox
Asked by
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Answers by
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Dimitar
Telerik team
Share this question
or