Panel Bar Disabling some Items in items collections

2 posts, 0 answers
  1. Andrew Paulson
    Andrew Paulson avatar
    11 posts
    Member since:
    Jul 2004

    Posted 20 Feb 2012 Link to this post

    I'm taking a list of directions and merging it with another list of directions and adding those directions to a panel bar to step through them using a Previous Next button.

    the first set of directions are built Client side, the second set comes from the server. The are merged client side.

    the Server side directions start out in the panel bar.

    the I take the directions out of the panel bar, Clear the panel bar, Build the Client Side Directions into an array, then take the Server side directions and add them to the array, iterate over the array and add each item(step) back to the panel bar.

    At this point, The Server side directions are Disabled, i can't focus on them, i can click on them and get the expected outcome other than the highlight, and list position state persistance. (if the list is large the focus doesn't bring the list into view)

    I've traced it back to clearing the panel Bar, if I don't clear it.. all the items work as expected. when I clear the panel bar I get the disabled Panel Bar items.

    is there a better way to do this?

  2. Peter
    Peter avatar
    6637 posts

    Posted 23 Feb 2012 Link to this post

    Hello Andrew,

    I am not sure how exactly you have implemented this scenario so it is difficult to say what is causing the problem. Have you tried an entirely client side approach by adding the items with the client API as in this demo?

    If you continue to experience problems, the best way to assist  you is to send us a support ticket with a working sample of the issue.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top