RadRibbonBar Collapsed does not display tabs on load

3 posts, 0 answers
  1. Ezequiel
    Ezequiel avatar
    36 posts
    Member since:
    Oct 2011

    Posted 30 Nov 2012 Link to this post

    I have a RadRibbonBar with some tabs. This RadRibbonbar is set:
    radRibbonBarTemplate.Expanded = false;

    but when the app is started it does not display the tabs. if I expand and collapse it again, it works properly.

    Not sure if this is a default behavior, a bug or any missing setting. Any idea?

    Thanks,
    Ezequiel
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 05 Dec 2012 Link to this post

    Hello Ezequiel,

    Thank you for writing.

    I was able to reproduce this case when the collapsing is performed in the form's constructor. When I am collapsing the ribbon in the Load or Shown events, it works correctly. If you are also making this setting in the constructor, please note that the observed behavior is expected, since this is too early and the ribbon layouts did not yet occur. Please move your code to the Load or Shown events. 

    I hope this helps.
     
    All the best,
    Stefan
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ezequiel
    Ezequiel avatar
    36 posts
    Member since:
    Oct 2011

    Posted 05 Dec 2012 Link to this post

    thanks! that worked!
Back to Top