Event for show fewer buttons?

3 posts, 0 answers
  1. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 29 May 2010 Link to this post

    Hello,

    I was trying to find if there is some event that fires when the user hides or shows some buttons (Groups).

    Until now i wasn't able to find something like that. If someone knows of a way of doing this, please let me know

    Best regards,
    Emanuel
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 29 May 2010 Link to this post

    Update, i found a workaround for this, but it's not a really efficient one, I've used the Layout event for this, and checked the size of the panelBar's content panel.

    private void radPanelBar1_Layout(object sender, LayoutEventArgs e)  
            {  
                if (this.radScrollablePanel1 != null &&  
                    previousSize != this.GroupElement.ContentPanel.Height)  
                    {  
                       previousSize = this.GroupElement.ContentPanel.Height;  
                       // set the size of other controls in the group element content panel  
                    }  
            }  

    If there is a better solution for this please let me know.

    Best regards,
    Emanuel
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 07 Jun 2010 Link to this post

    Hello Emanuel,

    Thank you for the question.

    There is no dedicated event for the moment when you apply the show fewer buttons functionality to RadPanelBar. I am glad to inform you, however, that such an event will be introduced to the successor of RadPanelBar - RadPageView. This new control will be a part of Q2 2010 due in the beginning of July.

    Until you switch to RadPageView, you can use the workaround that you have already found.

    Greetings,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top