No Scrollbars in PageView?

2 posts, 1 answers
  1. Udo
    Udo avatar
    4 posts
    Member since:
    Feb 2014

    Posted 08 Nov 2017 Link to this post

    Hello.

    I have a problem with the scrollbars.

    I have 2 Usercontrols with one radpageview.

    The first code works.

    The second don´t works.

    There are no Scrollbars.

    Please help.

    Private Sub Hauptmenue_Shown(sender As Object, e As EventArgs) Handles Me.Shown
        Dim _tablet As TetraFMS.FMSTablet 'Läd das Hauptfenster in die Anwendung
        _tablet = Controls("ucFMSTablet")
        If _tablet Is Nothing Then
            _tablet = New FMSTablet()
            _tablet.Name = "ucFMSTablet"
     
            Me.Controls.Add(_tablet)
            _tablet.Dock = DockStyle.Fill
            _tablet.HorizontalScroll.Enabled = True
            _tablet.VerticalScroll.Enabled = True
            _tablet.BringToFront()
        Else
            _tablet.Dock = DockStyle.Fill
            _tablet.BringToFront()
        End If

     

    Private Sub RibbonTabDesigner_Click(sender As Object, e As EventArgs) Handles RibbonTabDesigner.Click
        Dim _designer As TetraFMS.FMSEditor
        _designer = Controls("ucFMSEditor")
        If _designer Is Nothing Then
            _designer = New FMSEditor()
            _designer.Name = "ucFMSEditor"
     
            Me.Controls.Add(_designer)
            _designer.Dock = DockStyle.Fill
            '_designer.AutoScroll = True
            _designer.HorizontalScroll.Enabled = True
            _designer.VerticalScroll.Enabled = True
            _designer.BringToFront()
            _designer.Refresh()
     
        Else
            '_designer.AutoScroll = True
            _designer.HorizontalScroll.Enabled = True
            _designer.VerticalScroll.Enabled = True
     
            _designer.BringToFront()
            _designer.Refresh()
        End If
     
     
    End Sub
  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    2953 posts

    Posted 08 Nov 2017 Link to this post

    Hello, Udo,

    Thank you for writing.  

    I would recommend you to place a RadScrollablePanel on each page of RadPageView and set its Dock property to Fill. Thus, if you place a control which bounds exceed the panel, the respective scrollbar will be shown. Additional information for RadScrollablePanel is available here: https://docs.telerik.com/devtools/winforms/panels-and-labels/radscrollablepanel

    However, if you are experiencing any further difficulties, feel free to submit a support ticket and provide a sample project demonstrating the undesired behavior. Thus, our support staff will gladly assist you.

    I hope this information helps. 
     Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top