RadTabControl in combobox

6 posts, 0 answers
  1. bborie0107
    bborie0107 avatar
    21 posts
    Member since:
    Aug 2006

    Posted 11 Nov 2009 Link to this post

    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
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 11 Nov 2009 Link to this post

    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.
  3. bborie0107
    bborie0107 avatar
    21 posts
    Member since:
    Aug 2006

    Posted 11 Nov 2009 Link to this post

    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

      
  4. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 17 Nov 2009 Link to this post

    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.
  5. bborie0107
    bborie0107 avatar
    21 posts
    Member since:
    Aug 2006

    Posted 17 Nov 2009 Link to this post

    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
  6. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 17 Nov 2009 Link to this post

    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.
Back to Top