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

[Solved] Separate template for selected item

2 Answers 162 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 21 Nov 2008, 10:53 AM
Using a screenshot from one of your demos I made a quick sketch of what I want to do:
http://cid-cc43a90a79374ebd.skydrive.live.com/self.aspx/Public/RadCombobox|_Example.png

What I'm looking for is to have a separate datatemplate for the selected item when it is displayed in the "header" of the combobox (I'm not sure what the correct term is). In this particular case I just want to display the name of the selected item. Then when the combobox opens I want it to use the normal item template. Is it possible to achieve this with RadComboBox?

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 21 Nov 2008, 11:12 AM
Hi Henrik,

The property you need to set is SelectionBoxItemTemplate, but it is currently read-only, so what you want to achieve is not possible. I am aware of this and will include it in the next update of the control, which is due in the middle of December.

If you need this functionality sooner, I can prepare you a custom build next week. Just open a new support ticket and I will attach it there.

Sincerely yours,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
hwsoderlund
Top achievements
Rank 1
answered on 21 Nov 2008, 12:50 PM
It's not that important, middle of december is fine. Thanks, /Henrik
Tags
ComboBox
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
hwsoderlund
Top achievements
Rank 1
Share this question
or