Multi Monitor Docking Issue

8 posts, 0 answers
  1. R
    R avatar
    5 posts
    Member since:
    Sep 2013

    Posted 23 May 2014 Link to this post

    Hi,

    I am facing some issues while evaluating Telerik WPF UI components for my application.

    Here is some background on the application.
    1. Application will have dockable multiple Main pages(We are calling it page).
    2. Each Main Page will contain multiple dockable views (Windows inside page).
    3. User Can Drag entire main page to different screen.

    Issues
    1. When user opens a window inside page on second monitor, and try to dock that window in same main page, the center docking icon appears on first monitor.
    2. The size of floating windows and position resets every time they are docked and undocked. They cannot be set using data templates.
    3. If a window has just been opened and is in floating then there is nothing present in the active Main Page from which it is opened. So no reference is obtained to handle the event for the same.

    Kindly find the screen shots attached to issue 1.

    Regards,
    Rishi

  2. George
    Admin
    George avatar
    1332 posts

    Posted 28 May 2014 Link to this post

    Hi Rishi,

    Do you use different RadDocking controls in each page? Please, note that drag and drop operations of pane between two docking controls is not supported. Here you find more information about nested DnD scenarios - http://www.telerik.com/help/wpf/raddocking-features-nesteddocking.html. This will affect scenarios 1 and 3

    According to second issue, I would suggest setting RadDocking.FloatingLocation and RadDocking.FloatingSize​ attached properties. Please, refer to the following article - http://www.telerik.com/help/wpf/raddocking-features-panes-docked-floating-panes.html

    Hope this helps.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. R
    R avatar
    5 posts
    Member since:
    Sep 2013

    Posted 28 May 2014 in reply to George Link to this post

    Hi George,

    Thanks for the reply.

    Issue one is resolved when I use latest Telerik WPF controls 2014 Q1.

    Regarding Issue 2, I will try out attached properties as you suggested.
    Regarding Issue 3, When I open new pane inside RadDocking control, and if i do not click on newly opened pane, my activePane is shown null.

    Now, to answer your question, Yes I use RadDocking control in main page of my application to open new multiple windows. Inside these new windows as well I use RadDocking control to open new pane.

    I will post results of using attached properties as you suggested, ASAP.

    Thanks a lot for help.

    Regards,
    Rishi
  5. George
    Admin
    George avatar
    1332 posts

    Posted 30 May 2014 Link to this post

    Hi Rishi,

    The new added panes to the RadDocking control are not activated by default. I would suggest setting RadPane.IsActive property to true or setтинг RadDocking.ActivePane property to the pane.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  6. R
    R avatar
    5 posts
    Member since:
    Sep 2013

    Posted 31 May 2014 in reply to George Link to this post

    Hi George,

    Thanks for your reply. it was indeed helpful.

    I tried RadPane.IsActive and FloatingSize/FloatingLocation as you suggested.

    RadPane.IsActive works well.
    FloatingSize/FloatingLocation works just fine when I open panes. But When I Pin em and unpin again, these panes gets to a system defined size which I want to avoid. I want to make them of same FloatingSize after unpinning.

    Do I have to handle unpin event of the RadDocking/RadPane to get this working?


    Regards,
      Rishi
  7. George
    Admin
    George avatar
    1332 posts

    Posted 03 Jun 2014 Link to this post

    Hello Rishi,

    Pin/Unpin pane and Dock/Floating panes are different pane states. The FloatingSize value affects the panes when they go in floating state and it doesn't affect unpin ones. Can you send us more information 
    of this use case? In what scenarios the pane must keep its size?

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  8. R
    R avatar
    5 posts
    Member since:
    Sep 2013

    Posted 16 Jun 2014 in reply to George Link to this post

    Hi George,

    When I am undocking panes, the size of pane goes to a system defined one. Pane goes into floating mode.
    Here, I want to make pane size to be as per my defined float size which I am passing from view model. I am not able to get this right.

    Regards,
    Rishi 
  9. George
    Admin
    George avatar
    1332 posts

    Posted 18 Jun 2014 Link to this post

    Hi Rishi,

    Please, refer to the attached project where the floating size of "form1" pane is persisted. I added some custom code in PaneStateChange event handler.

    Hope this helps.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready