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

"Main" template

3 Answers 34 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Peter Zolja
Top achievements
Rank 1
Peter Zolja asked on 18 Dec 2008, 04:30 AM
There is an ItemTemplate, HeaderTemplate, FooterTemplate, but all these deal with the dropdown. How can I customize what is shown in the actual input box. Each item can have an image, I would like to show this image even when nothing is dropped down, similar to how the new button works on this page: http://demos.telerik.com/aspnet-ajax/ToolBar/Examples/Functionality/FirstLook/DefaultCS.aspx but with a RadComboBox.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 18 Dec 2008, 05:02 PM
Hi Peter Zolja,

RadComboBox does not support this feature. You cannot customize the input element of the control.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Peter Zolja
Top achievements
Rank 1
answered on 18 Dec 2008, 05:14 PM
Any suggestions as to how I could achieve something close to that? Here's what I'm looking for:

1) Display an image with text beside it
2) When the user clicks on the image and text I would like to show a menu (like the one in the toolbar example) and let the user make a selection. I need to be able to allow the user to click either the image or the text; I can't have a tiny down arrow that they'd have to aim, like in the ToolBar example.
3) If the user changed the selection the image and text from #1 should change.

I could go about making a simple div with image and text and when the user clicks show a drop down menu, but if there's an easier way I'm all ears. Thanks.
0
Veselin Vasilev
Telerik team
answered on 20 Dec 2008, 10:29 AM
Hi Peter Zolja,

Please check the following support resources:
I hope these will get you started.

Best wishes,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Peter Zolja
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Peter Zolja
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or