I'v setup applied a new custom style to a RadAutoCompleteBox in order to
change its visual design. I would also like to customize its
RadAutoCompleteBoxItems (e.g. change the Background and foreground , Border etc). How can this be
achieved? But if I'm searching for some items, no entries are shown in the drop down.
Please download the source file from the following url : www.sharangrafix.in/openautofocus/OpenOnFocusAutoComplete.zip
Thanks,
Sharan
Please download the source file from the following url : www.sharangrafix.in/openautofocus/OpenOnFocusAutoComplete.zip
Thanks,
Sharan
4 Answers, 1 is accepted
0
Hello Saravanan,
Looks like some part from your custom style is missing, please make sure everything from the default style is present. Besides, you can customize the items in the DropDown through the DropDownItemTemplate property of the AutoCompleteBox. Please check the Customizing the DropDownItemTemplate article from our online help documentation for more details.
Hope this will help you.
Regards,
Kalin
Telerik
Looks like some part from your custom style is missing, please make sure everything from the default style is present. Besides, you can customize the items in the DropDown through the DropDownItemTemplate property of the AutoCompleteBox. Please check the Customizing the DropDownItemTemplate article from our online help documentation for more details.
Hope this will help you.
Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Saravanan
Top achievements
Rank 1
answered on 03 Oct 2013, 06:39 AM
Hi,
Thanks for the reply, I customized my DropDownItenTemplate based on your link, still no use, If you can download my source file and you will know what I am trying to say, no problem with the DropDownItenTemplate, Problem when you search something in RadAutoCompleteBox it is not bringing up the DropDownItenTemplate. when you remove the style property from the RadAutoCompleteBox everything is fine.
Please see my attachments below.
Please download the source file from the following url :
www.sharangrafix.in/openautofocus/OpenOnFocusAutoComplete.zip
regards,
Saravanan
Thanks for the reply, I customized my DropDownItenTemplate based on your link, still no use, If you can download my source file and you will know what I am trying to say, no problem with the DropDownItenTemplate, Problem when you search something in RadAutoCompleteBox it is not bringing up the DropDownItenTemplate. when you remove the style property from the RadAutoCompleteBox everything is fine.
Please see my attachments below.
Please download the source file from the following url :
www.sharangrafix.in/openautofocus/OpenOnFocusAutoComplete.zip
regards,
Saravanan
0
Hello Saravanan,
The dropdown is missing because the element that holds the items doesn't have its ItemsSource set. This is the ListBox named PART_ListBox in the RadAutoCompleteBox ControlTemplate you just need to set the ItemsSource the following way and it will start working as expected:
Hope this will help you.
Regards,
Kalin
Telerik
The dropdown is missing because the element that holds the items doesn't have its ItemsSource set. This is the ListBox named PART_ListBox in the RadAutoCompleteBox ControlTemplate you just need to set the ItemsSource the following way and it will start working as expected:
ItemsSource="{TemplateBinding FilteredItems}"
Hope this will help you.
Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Saravanan
Top achievements
Rank 1
answered on 06 Oct 2013, 08:03 AM
Hi,
Thanks a lot, it works.
regards,
saravanan
Thanks a lot, it works.
regards,
saravanan