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

[Solved] Create ItemTemplate in Code-behind

3 Answers 373 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
JJ
Top achievements
Rank 1
JJ asked on 28 Jan 2008, 02:36 PM
I've used the example ( http://ClientFiles/073021_AjaxEnabledWebsite54.zip ) to convert my RadComboBox (classic) from using a streamer to using a RadComboBox (Prometheus) web service.  How do I define the ItemTemplate that I was using in the .aspx of the streamer?

Thanks,

Jeff

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 31 Jan 2008, 11:59 AM
Hi Jeff Johnson,

Thank you for writing to us and your question!

Actually you cannot apply templates when you are populating the ComboBox via WebService.

Is it acceptable for you to load the items in ItemsRequested event?
In this case you would be able to use the Templates.

I have created a small project demonstrating the above.
Please download it and give it a try.

Kind regards,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JJ
Top achievements
Rank 1
answered on 31 Jan 2008, 02:34 PM
Hi Veskoni,

Thank you for the modified example.  Can you explain how I could extend it to look and perform like the multi-column combo in the RadComboBox (classic) online demos.  That is ultimately what I want to recreate.

Thanks,

Jeff

0
Nikolay
Telerik team
answered on 31 Jan 2008, 02:53 PM
Hello Jeff Johnson,

I modified the project previously attached to this thread. Attached, please find the updated project. Download it and give it a go.

Hope this will get you started.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
JJ
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
JJ
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or