Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1770
Saving of layout not functioning as expected
posted

Hello. I've attached a project that is laid out the same as my main project to illustrate my issue. What I want is keep the same layout of panes as I switch from user control to user control. The problem is that that is not happening initially when I go from view 3 (default view when application starts) to view 4. When I switch between different views the layout of the previous view is saved and then that layout is loaded for the next view so it should work.

Just to be clear of the steps:

1.start the application. The North pane is pinned and South pane is unpinned.

2.Click on "View 4" on the left hand side. Now both South and North panes are pinned but the layout should be the same as in "View 3".

Please have a look at the project and this will make sense. 

Thanks

DockManagerTest.zip
Parents
  • 34810
    Offline posted

    Hello KrisVice,

    Thank you for your post.

    I have been investigating into this issue you are seeing, and I have reproduced it. It appears that neither the binding on IsPinned property on the panes or the loading of the layout is being respected when changing the views in your application initially. After the View 4 has been loaded the first time though, it appears that everything loads correctly and the bindings on the IsPinned property are respected.

    As this behavior is rather unexpected, I have asked our engineering staff to examine it further. To ensure that it receives attention, I have logged this issue in our internal tracking system with a development ID of 211034. I have also created you a case on this matter so that you can track the information about this development issue. This case has an ID of CAS-167436-F1V9X9 and you can access it here: https://es.infragistics.com/my-account/support-activity.

    For the time being, as a workaround, I would recommend that on the first time that your second view is loaded, that you evaluate the property that is bound to the IsPinned property on your panes and programmatically set that status for the IsPinned properties on your panes rather than relying on the layout being loaded for this to happen. This should force the ContentPanes in the newly loaded view to have the same IsPinned behavior as the one in your previous view. I had also tested your application with floating panes and pane dock position and everything seems to work fine with the layout loading on those ends. This appears to be specific to the IsPinned = false bit.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

Reply Children
No Data