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

Document Tabs Text Orientation

5 Answers 61 Views
Dock
This is a migrated thread and some comments may be shown as answers.
IT
Top achievements
Rank 2
IT asked on 07 Apr 2011, 01:30 AM
Hello;

I'm currently trying to dynamicaly change the orentation of my radDock1 's DocumentTabsTextOrientation.

Obviously i'm missing something because no matter how I get/set the information its not allowing change.

What would be the correct (and working) way to change the orientation from vertical to horizontal?

Thanks for your assistance.

5 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 12 Apr 2011, 02:29 PM
Hello Ethan,

Thank you for contacting us.

I have tested the property that you have mentioned, and on my end it works as expected. Please refer to the attached project for a sample implementation. Should you continue experiencing this issue, please provide me with a project where I can observe it. This will allow me to investigate the particular case and provide you with adequate support. You can send us your project in a new support ticket.

I am looking forward to you reply.

Greetings,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
IT
Top achievements
Rank 2
answered on 12 Apr 2011, 06:24 PM
Thanks for the reply;

yes indeed;

 

radDock1.DocumentTabsTextOrientation = Telerik.WinControls.UI.TabStripTextOrientation.Horizontal;

does work; if i toggle between say Horizontal and Vertical it changes my multiple docks. It doesnt seem to be independent of 'radDock1'.

Is this a designed feature or an error on my part?

0
Stefan
Telerik team
answered on 15 Apr 2011, 09:32 AM
Hello Ethan,

Thank you for writing.

The described setting is specific for each RadDock control. Please refer to the attached project where I have two RadDock instances and their DocumentTabsTextOrientation is controlled by two separate buttons, without affecting each other.  

If you continue experiencing the issue, please either modify the attached project in order to reproduce it or send me your project where I can investigate the reasons for the observed behavior. This will allow me to provide you with adequate support.

I am looking forward to your reply.

Kind regards,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
IT
Top achievements
Rank 2
answered on 15 Apr 2011, 03:38 PM
I've gone ahead and modified the file to reproduce my issue as similar as I can.

In context we have a RadDock with MDI Children Document Tabs, Inside one of these children is another set of RadDocks.
Just like when one is within the other, you can independently control the internal but not the outer without affecting the child.

Is there an easy solution to this?

EDIT: File is avaliable at:  http://www.xxxxxxxxxxxxx.com/411745.zip

Thanks;
-Ethan
0
Alexander
Telerik team
answered on 20 Apr 2011, 08:06 PM
Hello Ethan,

Thank you for sending the updated sample project.

I confirm the behavior that you describe - setting the DocumentTabsTextOrientation of RadDock will affect all nested RadDock controls. The property setter applies the value to all DocumentTabStrip elements in the parent and child RadDock controls.

As this behavior is undesired in your scenario, you can set explicitly the TabStripTextOrientation of the child RadDock's DocumentTabStrip element. In the sample project you can add the following line of the code in the end of the first button Click event handler:
documentTabStrip2.TabStripTextOrientation = TabStripTextOrientation.Horizontal;

I hope it helps. Do not hesitate to contact us again if you have additional questions.

Best regards,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Dock
Asked by
IT
Top achievements
Rank 2
Answers by
Stefan
Telerik team
IT
Top achievements
Rank 2
Alexander
Telerik team
Share this question
or