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

No Scrollbars in PageView?

1 Answer 222 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Udo
Top achievements
Rank 1
Iron
Udo asked on 08 Nov 2017, 08:35 AM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 08 Nov 2017, 11:08 AM
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.
Tags
PageView
Asked by
Udo
Top achievements
Rank 1
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or