Document Tabs Text Orientation

6 posts, 0 answers
  1. IT
    IT avatar
    3 posts
    Member since:
    Dec 2010

    Posted 06 Apr 2011 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 12 Apr 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. IT
    IT avatar
    3 posts
    Member since:
    Dec 2010

    Posted 12 Apr 2011 Link to this post

    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?

  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 15 Apr 2011 Link to this post

    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
  6. IT
    IT avatar
    3 posts
    Member since:
    Dec 2010

    Posted 15 Apr 2011 Link to this post

    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
  7. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 20 Apr 2011 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready