Toggle visibility of layout item

2 posts, 0 answers
  1. Måns
    Måns avatar
    1 posts
    Member since:
    Aug 2015

    Posted 13 Oct Link to this post

    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?
  2. Dess
    Admin
    Dess avatar
    2222 posts

    Posted 13 Oct Link to this post

    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.
Back to Top