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

Event for show fewer buttons?

2 Answers 68 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Emanuel Varga
Top achievements
Rank 1
Emanuel Varga asked on 29 May 2010, 04:06 PM
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 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 29 May 2010, 04:33 PM
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
0
Nikolay
Telerik team
answered on 07 Jun 2010, 07:38 AM
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.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Emanuel Varga
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or