But is anyone else noticing this?
I've got code running from the Q3 2010 SP1 version on a production servier... I can unpin and repin a RadPane and the content stays in place.
I updated to Q1 2011 Friday afternoon, and all day have been working on my IsPinned binding, which I finally got working, by the way, but... when I unpin and repin the Pane, I lose all my content... It's as if the view is totally removed because the menu downarrow throws an error, and the pin is grayed.
I saved off today's work, and pulled the existing code from TFS so that the only change was from Q3 2010 SP1 to Q1 2011, and the problem is still there.
Last week I could unpin/repin without issue but binding didn't work... now I can bind but can't unpin/pin...
to be honest, I had a hacky solution that would get me around the binding, but I need the pinning to work.
As I said, anyone else seeing this?
-Dave
9 Answers, 1 is accepted
Yes. Went to latest Telerik, v2011.1.301.1040, can take a radPane and unpin it to the side, then pin it and it loses the content of the radPane. The radPane content is populated from a Prism module view.
-Paul
Is this happening only with PRISM or without it? We need some more information to test the scenario.
George
the Telerik team
-Dave
I tried to reproduce the problem but to no avail. Attached you can find a sample with RadDocking control and PRISM & MEF.
Could you please describe what is your scenario so we can pinpoint the problem? I am glad to assist you further.
George
the Telerik team
So that 3rd-parties can build AppModules, I've converted all our AppModules to be UserControls. The AppModule itself may contain Telerik controls, but out of the box, it's no longer a demand.
I do this by wrapping the UserControl in a RadPane, then wrap that in a RadPaneGroup which is added to a Prism Region that is a RadSlitContainer.
The modules that are RadPanes come up just fine, fully functional in all ways. If I unpin, it slides off to the left as planned, and I can 'fly' it back out and use it by rolling the mouse over it.
If I try to repin it however, the content disappears, the pin gets grayed out, and if I push the menu button I get a crash because obviously that Pane is gone.
I just tried starting them out unpinned and that seems to work as well, I can even pin them once or twice, but if I play with it back and forth a couple times it will exhibit the same effect.
-Dave
In my application I programattically add a RadPane to an empty RadPaneGroup.
radpanegroup1.Items.Add(radpane1);
The UI displays the contents of radpane1 successfully. After another user action my code clears out the items in the RadPaneGroup and readds the RadPane.
radpanegroup1.Items.Clear();
radpanegroup1.Items.Add(radpane1);
The UI no longer displays any content in the RadPaneGroup.
This code works correctly in the Q3 2010 release. When I change my Telerik references back to the Q3 2011 release, it still works. I can then change the references to Q1 2011 and it fails every time.
-Jim
That's very strange behavior of RadDocking control. I made a sample project with 2 buttons and RadDocking control and tried to reproduce the problem, but to no avail. Attached you can find the sample.
We will greatly appreciate a project that reproduces the issue. It will definitely help us in further pinpointing and resolving the problem.
George
the Telerik team
I can load somehow each time the xap, but if I try to switch from one pane to the other or drag one of the panes then I get a "Element is the child of another element" exception.
There's any possible approach to do something like this?
This is a general exception for Silverlight when an UIElement has more than one parent element. We cannot say what is the cause for this exception without any source code. If you could send us a running project that reproduces the problem, it would be great. We could look into the sample.
I am glad to assist you further.
George
the Telerik team