Hello,
I need to develop MDI based application, I wish to make the RadDock interface to works like VS2010:
I want to have a single main Documents Tab Area and two view tool windows:
1) How can I make the RadDock to have only single tab documents area? I do no want to allow the user to create another tab documents areas (by dragging) - exactly like in VS2010 - there is only one tab documents area at all times
2) I also wish to allow the user to drag the documents as a float windows but without been able to re-dock it to other areas then the main tab documents area
Thank you!
I need to develop MDI based application, I wish to make the RadDock interface to works like VS2010:
I want to have a single main Documents Tab Area and two view tool windows:
1) How can I make the RadDock to have only single tab documents area? I do no want to allow the user to create another tab documents areas (by dragging) - exactly like in VS2010 - there is only one tab documents area at all times
2) I also wish to allow the user to drag the documents as a float windows but without been able to re-dock it to other areas then the main tab documents area
Thank you!
8 Answers, 1 is accepted
0
Hi Yoni,
Thank you for writing.
I have attached an example project where I have tried to implement your requirements. It has one document container and two tool windows. The tool windows can be docked to the four sides of the screen or float. The documents can be either docked in the document container or float.
I hope this will be useful. Should you have further questions, I would be glad to help.
Regards,
Ivan Petrov
Telerik
Thank you for writing.
I have attached an example project where I have tried to implement your requirements. It has one document container and two tool windows. The tool windows can be docked to the four sides of the screen or float. The documents can be either docked in the document container or float.
I hope this will be useful. Should you have further questions, I would be glad to help.
Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Yoni
Top achievements
Rank 1
answered on 17 Jul 2013, 08:57 PM
Thanks for the replay - there are few problems with the sample:
1) The option of drag the documents as a float windows (but without been able to re-dock it to other areas then the main tab documents area) is not working..
2) I wish both of the tools windows to be on the right side one on the top right side and the other on the bottom right side (like in VS). I also need to allow the user to drag the tools windows on on top of another if is wishes to create tabbed tools window space (also like VS allows)
Thank you for your help!
1) The option of drag the documents as a float windows (but without been able to re-dock it to other areas then the main tab documents area) is not working..
2) I wish both of the tools windows to be on the right side one on the top right side and the other on the bottom right side (like in VS). I also need to allow the user to drag the tools windows on on top of another if is wishes to create tabbed tools window space (also like VS allows)
Thank you for your help!
0
Hello Yoni,
Thank you for writing back.
1. Currently to make a Document window floating you should right-click on it and from the context menu choose Floating.
2. I have attached a modified version of the example I sent you where I have modified the code a bit so tool windows can be docked as you have described.
I hope this will help. Should you need further assistance, I would be glad to provide it.
Regards,
Ivan Petrov
Telerik
Thank you for writing back.
1. Currently to make a Document window floating you should right-click on it and from the context menu choose Floating.
2. I have attached a modified version of the example I sent you where I have modified the code a bit so tool windows can be docked as you have described.
I hope this will help. Should you need further assistance, I would be glad to provide it.
Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Yoni
Top achievements
Rank 1
answered on 20 Aug 2013, 11:05 AM
I noticed when taking your last example and set the "SingleScreen" property of the "radDock1" to false the forms can be float using drag..
Can I use this option? Are there any "side effects" can be caused by setting the SingleScreen=false ?
Thank you!
Can I use this option? Are there any "side effects" can be caused by setting the SingleScreen=false ?
Thank you!
0
Hi Yoni,
Thank you for writing back.
The SingleScreen property defines whether the dock would work only in the main screen. This is applicable to PC setups where the desktop is extended to more than one monitor. If you set the property to false you will be able to dock windows on the extended monitors. If you set it to true (which is the default value) you will not be able to dock windows on any of the additional monitors.
I hope this clears things up. Feel free to write back with further questions.
Regards,
Ivan Petrov
Telerik
Thank you for writing back.
The SingleScreen property defines whether the dock would work only in the main screen. This is applicable to PC setups where the desktop is extended to more than one monitor. If you set the property to false you will be able to dock windows on the extended monitors. If you set it to true (which is the default value) you will not be able to dock windows on any of the additional monitors.
I hope this clears things up. Feel free to write back with further questions.
Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Fernando
Top achievements
Rank 1
answered on 30 Oct 2014, 08:15 PM
Hi Ivan, is there any way to dock a mdi form to the right of the previous mdi form?
Thanks in advance
Thanks in advance
0
Fernando
Top achievements
Rank 1
answered on 04 Nov 2014, 01:31 PM
This works for me.
Thanks anyway.
'Inserts forms right side of the last inserted
Me.RadDock1.DocumentManager.DocumentInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.ToBack
Thanks anyway.
'Inserts forms right side of the last inserted
Me.RadDock1.DocumentManager.DocumentInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.ToBack
0
Hello Fernanado,
Thank you for writing.
This is the correct approach for this case. Information about this property can be found here: Document Manager.
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
Thank you for writing.
This is the correct approach for this case. Information about this property can be found here: Document Manager.
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.