Move to Previous Tab Group

5 Answers 78 Views
Dock
Satoshi
Top achievements
Rank 1
Iron
Satoshi asked on 13 Sep 2021, 09:36 AM
Hi.

Using dll version 2021.2.615.40

I want to use the "Move to Previous Tab Group" included in the demo application, but it is not displayed in my application.

Are there any conditions under which this menu item is valid?

5 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Sep 2021, 10:38 AM
Hello, Satoshi, 

All context menu related operations are handled by a stand alone service, registered with RadDock - ContextMenuService. Additional information about the ContextMenuService is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/dock/architecture-and-features/using-the-contextmenuservice 

Note that the context menu items depend on the DockWindow.DockState and whether the document can be moved backward and forward. Please refer to the attached gif file illustrating better how different menu options are displayed according to the user interaction.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Satoshi
Top achievements
Rank 1
Iron
answered on 14 Sep 2021, 12:22 PM | edited on 14 Sep 2021, 12:23 PM

thank you for your answer.

I made a minimum code and confirmed it.

Apparently, it's useless if it contains a control that includes RadDock.

Is there a way to solve it without changing the controls that include RadDock? 

Dess | Tech Support Engineer, Principal
Telerik team
commented on 15 Sep 2021, 11:58 AM

According to the provided screenshot, I suppose that you have more than one RadDock controls on the form. Is my assumption correct? Please have in mind that RadDock is a container control and it is expected and highly recommend to have only one RadDock control on the form. Thus, all inner contains (a.k.a split panels) will belong to one common RadDock and when you move the document windows to different positions, the context menu options will be updated according to the available containers in this common RadDock. If multiple RadDocks are present, the split panels are considered separately per control and the menu options will be more restricted.

In case you are still experiencing any further difficulties, it would be greatly appreciated if you can submit a support ticket from your Telerik account and provide a sample project demonstrating the undesired behavior that you are facing. Thus, we would be able to make an adequate analysis of the precise case and provide further assistance. 

Should you have further questions please let me know.
0
Satoshi
Top achievements
Rank 1
Iron
answered on 16 Sep 2021, 12:41 AM
You don't have to believe me

Is there a way to add my own menu that behaves the same as "Move to Previous Tab Group" or "Move to Next Tab Group"? 
0
Satoshi
Top achievements
Rank 1
Iron
answered on 17 Sep 2021, 09:36 AM
Finally, I replaced the inner RadDock with RadPageView and solved it. 
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Sep 2021, 08:25 AM
Hello, Satoshi, 

Please have in mind that RadDock takes into consideration the exact window and where it is placed according to the neighboring split containers within the same RadDock control. Even though you may add a new custom context menu item, the "Move to Previous Tab Group" operation may not be allowed for this document at this particular moment. 

However, I am glad that RadPageView fits your custom scenario in a better way. Feel free to use it if it achieves the desired look and user experience.

If you need any further assistance please don't hesitate to contact me.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Dock
Asked by
Satoshi
Top achievements
Rank 1
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Satoshi
Top achievements
Rank 1
Iron
Share this question
or