Can't bind the data in panel bar dynamically

4 posts, 0 answers
  1. Chris Ward
    Chris Ward avatar
    52 posts
    Member since:
    Jan 2010

    Posted 27 Jan 2010 Link to this post


    I can't find any way to data bind in a panel bar. We are creating a WCF service that contains two level of data. A top level "GROUP" and "FILTERS" in second level. Binding to itemsource generates the GROUP level panels but not creating the FILTER levels. Is there any solution or code?

    Let me know ASAP.

  2. Tihomir Petkov
    Tihomir Petkov avatar
    576 posts

    Posted 28 Jan 2010 Link to this post

    Hi Chris,

    You should use a HierarchicalDataTemplate. Take a look at the following two links:

    Let me know if you still have difficulties after looking at the example and help article.

    Tihomir Petkov
    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. yjh
    yjh avatar
    67 posts
    Member since:
    Aug 2007

    Posted 03 May 2010 Link to this post

    I bind a ObservableCollection to a panelbar using HierarchicalDataTemplate,but when I add a object to the ObservableCollection,panelbar doesn't refresh. 

    I has to set panelbar's itemsource to null and then set the itemsource to the ObservableCollection again.
    Can panelbar implement load on demand?
  4. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 May 2010 Link to this post

    Hello yjh,

    if you are binding to an ObservableCollection the panel bar should update itself automaticaly. Can you open a support ticket and attach a project that we can investigate.


    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top