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

Start Menu Events

3 Answers 76 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
seedy
Top achievements
Rank 2
seedy asked on 09 May 2007, 03:31 PM
Are there any events that can be handled for the start menu (Opening, Closing, ect) ?

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 09 May 2007, 04:44 PM
Hello Corey Downie,

Yes the RibbonBar Start Menu has such events. To access the start menu in RibbonBar use this property:

RadRibbonBar.RibbonBarElement.ApplicationButtonElement

and the corresponding events are:

DropDownOpening
DropDownOpened
DropDownClosed


Greetings,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
seedy
Top achievements
Rank 2
answered on 09 May 2007, 04:56 PM
I can see that that property exists, but I cant get to it:

Error  'Telerik.WinControls.UI.RadRibbonBarElement.Protected ReadOnly Property ApplicationButtonElement() As Telerik.WinControls.UI.RadDropDownButtonElement' is not accessible in this context because it is 'Protected'.

0
Jack
Telerik team
answered on 10 May 2007, 09:42 AM
We apologize for this misunderstanding, Corey. Yes, right now there is no way to access the ApplicationButtonElement property. We will fix this issue in our next service pack. I suggest you to use the following workaround:

Dim buttonElement As RadDropDownButtonElement = CType(radRibbonBar1.RibbonBarElement.Children(2),RadDropDownButtonElement)

 
Kind regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
RibbonBar
Asked by
seedy
Top achievements
Rank 2
Answers by
Jack
Telerik team
seedy
Top achievements
Rank 2
Share this question
or