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

user too fast

3 Answers 57 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
John Hadjioannou
Top achievements
Rank 1
John Hadjioannou asked on 12 Aug 2010, 01:29 PM
When the user clicks on a combobox that has already initialised with a value, usually the whole value highlights and when the user types it is overwritten.  This is the expected behaviour.

Sometimes, if the user starts typing quickly, the text they type is inserted into the existing text - it seems that they arre "too fast" for the highlighting to have taken effect.  Is there a way round this?

Thanks
John

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 16 Aug 2010, 02:59 PM
Hi John Hadjioannou,

Can you reproduce the issue in this demo? If yes, how?

Greetings,
Simon
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
John Hadjioannou
Top achievements
Rank 1
answered on 17 Aug 2010, 08:47 PM
Hi Simon

No, the issue doesn't arise with the demo.

I do however have an OnKeyPressing event:

 

function onKeyPressing(sender, eventArgs) {

 

 

    // Bugfix for RadCombo

 

 

    var e = eventArgs.get_domEvent();

 

 

    var keyCode = e.keyCode || e.which;

 

 

    var shouldMarkFirstMatch = (keyCode !== 32);

 

 

    sender.set_markFirstMatch(shouldMarkFirstMatch);

 

 

    // end bugfix

 

 

    if (sender.get_text() == '') {

 

 

    sender.requestItems('', false);

 

 

}

The bugfix is to deal with the problem in http://www.telerik.com/community/forums/aspnet-ajax/combobox/radcombobox-not-allowing-spaces-in-custom-text.aspx 

Could this be causing the problem?

John

 

0
Simon
Telerik team
answered on 18 Aug 2010, 10:07 AM
Hello John Hadjioannou,

Does removing the workaround fix the issue?

Greetings,
Simon
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
John Hadjioannou
Top achievements
Rank 1
Answers by
Simon
Telerik team
John Hadjioannou
Top achievements
Rank 1
Share this question
or