Treeview in Combobox + Sharepoint Mode

6 posts, 0 answers
  1. VIvek
    VIvek avatar
    6 posts
    Member since:
    Oct 2008

    Posted 28 Oct 2008 Link to this post

    hello,

    I want to use Silverlight Combobox (with treeview inside it) in MOSS. Can you please let me know the steps for this process?

    Thanks
    Vivek
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 29 Oct 2008 Link to this post

    Hi VIvek,

    The integration between Silverlight and MOSS is an interesting question. I've performed a quick search on the topic and found some good articles/tutorials and discussion you might be interested checking out:

    Silverlight in MOSS 2007 (SP1) on ASP.NET WebLogs
    Silverlight & MOSS Integration Solutions
    Silverlight Sharepoints MOSS and HttpHandlers
    MOSS and Silverlight discussion on SharePoint forums

    Let us know if you need further assistance.

    Regards,
    Konstantin Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. VIvek
    VIvek avatar
    6 posts
    Member since:
    Oct 2008

    Posted 29 Oct 2008 Link to this post

    Thanks for replying. But, do you have any sample where i can add Treeview inside Combobox (for Silverlight control of yours). I know how to do this for RAD AJAX control kit, but no sample for silverlight.

    Thanks
    Vivek
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 30 Oct 2008 Link to this post

    Hi VIvek,

    Yes you can - just add the TreeView as a child of the ComboBox. Nothing special. See the code below:
    <ComboBox Margin="20">  
                    <telerikNavigation:RadTreeView SelectionMode="Multiple"   
                            IsEditable="True" IsOptionElementsEnabled="True">  
                          
                            <telerikNavigation:RadTreeViewItem Header="Item1.1" /> 
                            <telerikNavigation:RadTreeViewItem Header="Item1.2" /> 
                            <telerikNavigation:RadTreeViewItem Header="Item1.3" /> 
                          
                        <telerikNavigation:RadTreeViewItem Header="Item2">  
                            <telerikNavigation:RadTreeViewItem Header="Item2.1" /> 
                            <telerikNavigation:RadTreeViewItem Header="Item2.2" /> 
                            <telerikNavigation:RadTreeViewItem Header="Item2.3" /> 
                        </telerikNavigation:RadTreeViewItem> 
                    </telerikNavigation:RadTreeView> 
                    </ComboBox> 


    Greetings,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. VIvek
    VIvek avatar
    6 posts
    Member since:
    Oct 2008

    Posted 30 Oct 2008 Link to this post

    Thank you for replying. I've two more questions (for now)
    1. Treeview is coming nicely inside combobox. But, i'm not able to click/expand child items. whenever i do that, the combobox closes and shows all items list in combobox.
    2. Is there a way to bind XML to tree rather than adding individual nodes. I've done that with your AJAX treeview. It has a method to load tree from xml.


    I'm writing a POC based on your controls for MOSS 2007.

    Thanks
    Vivek
  6. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 31 Oct 2008 Link to this post

    Hi VIvek,

    Yes - we have this issue with RadComboBox right now. That's why I send you the sample code with the Microsoft Combo. We will address this issue within the official release which is coming next week.

    Thanks for the feedback - let us know if you need any other help with the MOSS integration.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top