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

Radcombobox - Keyboard Navigation

0 Answers 153 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Jyoti
Top achievements
Rank 1
Jyoti asked on 25 Jun 2009, 09:29 PM

Question 1 - Does the user have any control on the text that is displayed in the Radcombobox while using keyboard navigation.

 

 

 

ChangeTextOnKeyBoardNavigation = "true" or "false" just completely turns it on or off.

Question 2 - Is there any property that will return the index or text of the currently focussed item? eg. if i am currently highlighting the 6th item in the combobox items with my keyboard. (Selected item does not return the item that i just highlight during keyboard navigation)

If you need more information about what we are trying the achieve you can continue to read...

We are using the Radcombobox to autosuggest employees. For better user experience, what we want to do is - If the user tyes something like - 'smith', in all the auto suggested values we want to 'bold' the text 'smith' eg-

John Smith
Jonathon Smithson
Smith and others

so what we do is while populating the list of values to autosuggest, we use the <b> tags to format the text.

So baiscally we add

John <b>Smith</b>
<b>Smith</b> and others

etc...

This works perfectly and we can see the search results with Smith highlighted.
However, when we use the keyboard to navigate in this list of suggested values, the text  'John <b>Smith</b>' (with the html <b> tags) appear in the text box.

Please advise.

No answers yet. Maybe you can help?

Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Jyoti
Top achievements
Rank 1
Share this question
or