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

Multi Monitor Docking Issue

7 Answers 132 Views
Docking
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 23 May 2014, 11:27 AM
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

7 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 28 May 2014, 11:04 AM
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.
 
0
R
Top achievements
Rank 1
answered on 28 May 2014, 11:41 AM
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
0
George
Telerik team
answered on 30 May 2014, 01:13 PM
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.
 
0
R
Top achievements
Rank 1
answered on 31 May 2014, 08:12 AM
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
0
George
Telerik team
answered on 03 Jun 2014, 01:03 PM
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.
 
0
R
Top achievements
Rank 1
answered on 16 Jun 2014, 07:24 AM
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 
0
George
Telerik team
answered on 18 Jun 2014, 08:34 AM
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.
 
Tags
Docking
Asked by
R
Top achievements
Rank 1
Answers by
George
Telerik team
R
Top achievements
Rank 1
Share this question
or