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

Scrollable panel at design time

4 Answers 732 Views
ScrollablePanel
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 05 Dec 2017, 04:03 AM

Hi,

have got to make this panel which contains a lot of group controls and I have run out of height on the winform..I tried using the scrollable panel docked to the form but no good (although it did allow some scrolling...how do I get a scrollable panel at design time where I can load all these controls?

4 Answers, 1 is accepted

Sort by
0
Roger
Top achievements
Rank 1
answered on 05 Dec 2017, 04:10 AM
Of course I just found the answer...add a scrollable panel (not docked) inside a scrollable panel (docked).....increase the inner one and scroll down with the outer
0
Dimitar
Telerik team
answered on 05 Dec 2017, 12:59 PM
Hello Roger,

In general, there is no need for 2 panels. You can directly add the ScrollablePanel to the form, enlarge it along with the form, arrange the controls and when you make it small again the scrollbars will appear. 

I hope this will be useful. 

Regards,
Dimitar
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.
0
Roger
Top achievements
Rank 1
answered on 05 Dec 2017, 10:18 PM

I tried that and the 1 scrollable panel was limited to the maximum height of the form when the form was fully expanded...couldn't expand it past that....but...while the first scrollable panel was limited to the height of the form (i.e could not expand the panel outside the maximum height of the form...1070 in my case.... and have it scroll at design time) the 2nd scrollable panel(child) of the first scrollable was not... so the scrollbars came up on the parent to allow me to scroll in design time and yet expand the surface outside the maximum height of the form to add more controls and containers and view them at design time.

I know it is not good policy to have so many controls in 1 line but it's the client's request.

0
Dimitar
Telerik team
answered on 06 Dec 2017, 10:58 AM
Hi Roger,

Actually, there is no reason not to use two panels and this would not have any performance impact. So I think it is OK to use this approach since it suits your case. 

Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
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
ScrollablePanel
Asked by
Roger
Top achievements
Rank 1
Answers by
Roger
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or