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

Toggle visibility of layout item

1 Answer 154 Views
LayoutControl
This is a migrated thread and some comments may be shown as answers.
Måns
Top achievements
Rank 1
Måns asked on 13 Oct 2017, 08:04 AM
I am using a RadLayoutControl and I would like show a RadStatusStrip with a progressbar at the bottom of the form while loading data into the forms RadGridView. I want the status strip to go away when loading has finished though and I expect the grid to resize properly when addingthe status strip and when removing it. How can I accomplish this?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Oct 2017, 10:26 AM
Hello, Måns,  

Thank you for writing.  

In order to obtain a correct layout, note that the controls must be ordered properly. Thus, you can add RadStatusStrip and Dock it to the Bottom. Then, add RadGridView and Dock it to Fill. Hence, when you hide the RadStatusStrip, the grid will be stretched and occupy the available space. Additional information for ordering the controls is available in the following article: http://www.telerik.com/support/kb/winforms/details/docking-controls-on-a-form-in-a-windows-forms-application

If you are still experiencing any further difficulties, it would be greatly appreciated if you can specify the exact steps that I need to perform in order to replicate the undesired behavior that you are facing. Once, we replicate the problem locally we can make an adequate analysis of the problem and assist you further. Thank you in advance.

I hope this information helps. Should you have further questions I would be glad to help.

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
LayoutControl
Asked by
Måns
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or