This is a migrated thread and some comments may be shown as answers.

Panel Bar Disabling some Items in items collections

1 Answer 39 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Andrew Paulson
Top achievements
Rank 2
Andrew Paulson asked on 20 Feb 2012, 09:48 PM
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?


1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Feb 2012, 04:56 PM
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,
Peter
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.
Tags
PanelBar
Asked by
Andrew Paulson
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or