RadDocking RadPaneGroup tab scrolling

8 posts, 1 answers
  1. Dean Wyant
    Dean Wyant avatar
    46 posts
    Member since:
    Nov 2009

    Posted 26 Aug 2011 Link to this post

    How do I get the RadPaneGroup tabs (headers) to allow scrolling instead of shrinking to fit?

    When the number of docked panes and their header lengths overflow the container area, the tab area that holds the header text shrinks (width) to show less of the header text.
    I believe that by default, the RadTabControl used outside of docking adds right and or left scroll buttons.

    I would like docking to do the same. Instead of descreasing the width of the tab headers, I want the scroll button to appear so the tab headers can be scrolled.

    I have tried setting the OverflowMode to Scroll, but it has no affect.

    Thanks.
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 01 Sep 2011 Link to this post

    Hi Dean,

    It works only for RadPaneGroups inside the RadDocking's DocumentHost.

    Best wishes,
    Pana
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Dean Wyant
    Dean Wyant avatar
    46 posts
    Member since:
    Nov 2009

    Posted 01 Sep 2011 Link to this post

    Too bad. I would like to see it work within ToolWindows and docked groups also. It looks really bad when the tabs just shrink in size. I add tooltips set to the Binding, but I really need the scroll to make my app look professional.
    The problem is really apparent when there are multiple panes in a ToolWindow. I have some tabs as content and it looks terrible when the content tabs get the scroll buttons but the pane tabs do not. It does not seem logical to the observer.
    I guess I could try to get rid of the scroll buttons for the content tabs and have them just shrink too. But, that would be a big step backwards. 

    Is there a PITS issue for this?
    I seems strange that I would be the only one needing this????????????



  5. Answer
    Pana
    Admin
    Pana avatar
    748 posts

    Posted 03 Sep 2011 Link to this post

    Hi,

    When given multiple views people would usually create a menu or toolbar that switches the views in the same tab. Please note that neither VisualStudio nor Blend support scrolling in non document host areas. I have added a PITS item you could vote for. As well as this one is close to your request but only for the menu and not the scrolling.

    All the best,
    Pana
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  6. bhargava
    bhargava avatar
    14 posts
    Member since:
    Feb 2015

    Posted 22 Jun 2015 Link to this post

    HI pana,

    I have an issue with the scroll. I am using OOB mode of silverlight . 

     

    This is my XMAL

      <telerik:RadDocking AllowDragReorder="False" CloseButtonPosition="InPane">
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup x:Name="radPaneGroupWorkspace" TabStripPlacement="Top" OverflowMode="Scroll" ScrollViewer.HorizontalScrollBarVisibility="Auto">

                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
        </telerik:RadDocking>

     

    I am adding a delay of 5 sec when opening the view to show the close button. When I open the last view for scroll bar to appear it works fine ( horizontal scroll bar). but I cant see the close button . Is there any property is have to add. I know I am adding the delay so that user cant close the view until it is fully loaded. I have attached an image for ref. 

     Thanks,

    Bhargava 

  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 25 Jun 2015 Link to this post

    Hi Bhargava,

    We are not sure we understand you correctly.

    What do you mean that there is a 5 second delay when opening the a view to show the close button. Do you mean that by default you have set the CanUserClose property of all RadPane instances to False and you have added a 5 seconds timer which toggles the CanUserClose to True?

    By design in the RadDocking control when a RadPane instances are placed inside the DocumentHost it is possible to customize the way the close button is positioned by setting the CloseButtonPosition of the control. This property can be set to InGroup, InPane and InPaneAndGroup. The only value that would cause the close button of the group to be removed is the InPane value. Is the CloseButtonPosition changed in your project.

    Regards,
    Vladi
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  8. bhargava
    bhargava avatar
    14 posts
    Member since:
    Feb 2015

    Posted 25 Jun 2015 in reply to Vladi Link to this post

    Hi Vladi,

    I am adding a 5 sec delay in order for the view to fully load so that the close button appears . But, for some views which are heavily data driven we are adding a delay so that I cannot close it before it fully loads.

     

     My problem:When I open a view which is the last view before the scroll bar appears (ScrollViewer.HorizontalScrollBarVisibility="Auto"), the close button is not visible as I am adding a delay. Is there any flag which I can use which indicates that I have reached the end of the horizonatlscroll for the scrollbar to become visible. 

    Thanks,Bhargava 

  9. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 26 Jun 2015 Link to this post

    Hello Bhargava,

    We are still unsure what exactly the scenario and the related issue in your project is. Could you try to isolate the issue in a sample project and send it to us in a new support thread. This will help us observe the disused behavior on our side and further research it.

    In the .NET Framework when setting the ScrollViewer.HorizontalScrollBarVisibility of a ScrollViewer to Auto the framework does not provide a suitable event or a status property which could easily be used to determine when the HorizontalScroll is shown or not.

    Regards,
    Vladi
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner