PanelBar with mixed static and dynamic content?

3 posts, 0 answers
  1. James
    James avatar
    29 posts
    Member since:
    Sep 2008

    Posted 13 Jul 2009 Link to this post

    Hi there,
    I'd like to have a PanelBar which has the following type of layout:

    Workflow
        Cases
            Case 1001
            Case 1002
            Case 1003
    Search
        Search by case number
        Search by id
    Reports
        Activity report
        Audit report

    Where All but the items under the Cases node are static, but those under Cases are dynamic, retrieved by a call to a WCF service method.

    Is this possible??

    Thanks,

    James

  2. Brad H
    Brad H avatar
    31 posts
    Member since:
    Aug 2009

    Posted 13 Jan 2010 Link to this post

    AppendDataBoundItems="True".  This worked for my purposes.  Not sure if it will in your case.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 15 Jan 2010 Link to this post

    Hello James,

    RadPanelBar does not have built-in support for WCF services. Still, you can create the panelbar items on the client, using javascript so this should be possible. Here is how:

    Add the static items, then subscribe to the onClientLoad event of the panelbar and manually retrieve the data from your WCF service. Then loop through that data and create the panelbar items as shown here.

    Hope this will get you started.

    All the best,
    Veskoni
    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