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

[Solved] Biz object child list

7 Answers 144 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.
David
Top achievements
Rank 1
David asked on 15 Apr 2009, 01:28 PM
Hi,

Just hoping this is possble, i have a List of Objects that i want to bind in a ComboBox (Not a problem) but then that list also has a list of Object's which i would like to display and selectable. I.E.

like this
Object 1
=========
    Object1a
    Object1b
    Object1c
Object 2
=========   
    Object 2a
    Object 2b

ETC...

Hope someone has done this in the past

Thanks David

7 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 15 Apr 2009, 01:42 PM
Hello David,

I hope the following link will be of help:
http://blogs.telerik.com/valerihristov/posts/08-11-08/treeview_in_a_combobox_dropdown_using_radcontrols_for_silverlight.aspx

I should note that the source code is using older version of the RadComboBox Template, so you will have to update the XAML manually with the version you use. Let me know if you have problems with this.

Regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 16 Apr 2009, 09:36 AM
Thanks for the Reply

Is there a quick way to get the template?

or is it just create a dummy project goto blend and then edit template copy etc....

David
0
Valeri Hristov
Telerik team
answered on 16 Apr 2009, 09:49 AM
Hello David,

The quickest way is to open blend, create dummy project, put references to Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Input.dll, add a RadComboBox, select edit control template from the context menu and you will get what you need.

Greetings,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 16 Apr 2009, 10:39 AM
Right i have got the point of AddHandler which doesn't seem to be there?

Any clues?

David
0
Valeri Hristov
Telerik team
answered on 16 Apr 2009, 10:49 AM
AddHandler is an extension method defined in the Telerik.Windows namespace. You need to add "using Telerik.Windows;" in your code.

Best wishes,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 16 Apr 2009, 11:20 AM
Right thats fine got to testing now i'm getting a System.ExecutionEngineException??

David
0
Valeri Hristov
Telerik team
answered on 17 Apr 2009, 12:16 PM
Hello David,

I just updated the source code of the blog post with the new RadComboBox styles. For your convenience I am attaching the application here - note that you should use the assemblies from Q1 2009 SP1, which was released last week. Please, let me know if you still experience problems using it.

Sincerely yours,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
David
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
David
Top achievements
Rank 1
Share this question
or