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

How to modify PopUp Template?

2 Answers 153 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 12 Dec 2014, 12:58 PM
Hi,

I would like to modify PopUp template of the RadAutoCompleteBox to have grouped items result, like that:



Group 1
       ItemFound 
       ItemFound 
       ...
Group 2
      ItemFound 
      ItemFound
      ...


Can we do this with the built-in functionalities?
Otherwise, how can i do that? Some clues?

2 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 16 Dec 2014, 01:46 PM
Hello Manuel,

In order to achieve the desired a custom filtering behavior should be created in order to differentiate the groups and the items (a part of the group). The theme of the AutoComplete control needs also to be modified in order to apply different styles for the group and the item. The could be achieved by using implicit styles. Please, check the following article from our help documentation that provides a more detailed information about how to create a custom filtering:
http://docs.telerik.com/devtools/wpf/controls/radautocompletebox/features/filteringbehavior

We have created a sample project that demonstrates how to achieve the desired. Please, give it a try and let us know if it worked for you.

Hopes this helps.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Manuel
Top achievements
Rank 1
answered on 18 Dec 2014, 09:15 AM
Thanks,

I will look at your solution.
Tags
AutoCompleteBox
Asked by
Manuel
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Manuel
Top achievements
Rank 1
Share this question
or