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

RadTabControl in combobox

5 Answers 189 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
bborie0107
Top achievements
Rank 1
bborie0107 asked on 11 Nov 2009, 12:46 PM
Hi

I read the post :
http://blogs.telerik.com/valerihristov/posts/09-08-27/treeview_in_combobox_take_3_silverlight_3_wpf_and_radcontrols.aspx

How can i put RadTabControl in combobox?
And I'd like to make multiple RadTabItems in tabcontrol, Each RadTabitem contains  identical user control like treeview in one tab  and gridview in another tab.   
I just modified template codes of blog's  source code  but i failed.  Combobox's seleted item is not changed as i expected.

Regards,
Park

5 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 11 Nov 2009, 02:39 PM
Hello Park,

For such complex scenarios like yours I would strongly recommend using RadDropDown button instead of RadComboBox:
http://demos.telerik.com/silverlight/#Buttons/DropDownButton

Kind regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bborie0107
Top achievements
Rank 1
answered on 11 Nov 2009, 03:20 PM
Thanks Valeri for quick reply 

Would you please tell me more how i can solve my situation using RadDropDownButton?  I assume i can assign RadTabControl as
DropDownButton's DropDownContent and update dropdown's content whenever selection events of controls in radtabitem occur
I don't get how to assign itemsource to each control. 

Regards,
Park

  
0
Ivan
Telerik team
answered on 17 Nov 2009, 03:26 PM
Hi Samuel,

We are sorry for the late response.

Attached you can find an example where the drop down button, tab control, tree view and grid view are involved. The button's content is driven according to the selection in the last active element - the tree or the grid. Please preview it and let us know if we missed something.

Regards,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bborie0107
Top achievements
Rank 1
answered on 17 Nov 2009, 11:48 PM
Hi
Thanks for very nice sample. it helps a lot. I already posted a question on button control's board. How can i make not to close dropdown popup on treeview ? if i select root or second depth node in treeview. i should keep dropdown popup on open state
this is the link i asked before :
http://www.telerik.com/community/forums/silverlight/buttons/how-to-prohibit-dropdown-from-closing-in-raddropdownbutton.aspx

Regards,
Park
0
Ivan
Telerik team
answered on 18 Nov 2009, 03:29 AM
Hello Samuel,

We answered in your other thread. Please follow the link in your last post.

Kind regards,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
bborie0107
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
bborie0107
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or