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

RadSearchBox

1 Answer 72 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Ramya
Top achievements
Rank 1
Ramya asked on 13 Sep 2016, 05:01 PM

Hi,

We have a RadSearchBox that get populated using DataTable. We also have a RadListview on the same page. Our requirement is when data is loaded into Search dropdown, if the data is already in RadListview, that value should appear as BOLD in search drop down. Attached is an example. If Alabama Power is in the search box it should appear as bold.

Can anyone please help me with that.

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 16 Sep 2016, 11:32 AM
Hello,

I am afraid there isn't a suitable event that you can bold the item's text in. The items in the SearchBox dropdown do not exist and are not rendered until a result is returned based on the string entered in the input area. When the result is returned the items are rendered, but there isn't an associated event that fires after the result is returned exposed, in the handler of which to set the item's font-weight.

Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
SearchBox
Asked by
Ramya
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or