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

Start Menu Right Column

8 Answers 81 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
UIdev
Top achievements
Rank 1
UIdev asked on 14 Jan 2008, 12:49 AM
Hi,

Is there any way for the items in the start menu's right column to be updated/changed upon focus of a RadItem in the left column?  I'm trying to acheive the same effect as in Office, but I'm not sure if this is possible/how to do it.

Thanks very much,

UIdev

8 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 14 Jan 2008, 01:46 PM
Hi UIdev,

Thank you for this question.

Yes, it is possible to change or update the items on the right side of the RadRibbonBar's start menu through code. You must add your menu items dynamically to the StartMenuRightColumnItems collection of the RadRibbonBar. I have attached a sample application demonstrating this behavior.

In case you have other questions, feel free to write us again.

Greetings,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
UIdev
Top achievements
Rank 1
answered on 15 Jan 2008, 12:43 AM
Jack,

Thanks for the solution!  It's exactly what I was looking for.  As a quick follow-up, how would you do this in VB.NET?  I tried converting the C# code, but it would not stop giving me trouble.

Thanks,

UIdev
0
Jack
Telerik team
answered on 15 Jan 2008, 09:30 AM
Hello UIdev,

I am sending you the same solution in VB.

Kind regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
UIdev
Top achievements
Rank 1
answered on 16 Jan 2008, 12:31 AM
Thanks Jack for your great help - Telerik support is wonderful as always!  The VB solution worked perfectly - thanks!

-UIdev
0
Pierre
Top achievements
Rank 1
answered on 18 Jan 2008, 09:34 PM
Hi, thanks for thsi solution. Very userfull!

Question: How can I tell the menu to Auto-Resize itself in function of the menu name or description added dynamically ? The right part of the menu are not reeizing after i add a long menu description dynamically.

Question2: How I can handle the Option Button click in the main menu.

thanks
0
Angel
Telerik team
answered on 21 Jan 2008, 09:58 AM
Hi Pierre,

Thank you for writing.

To answer your questions:

  1. Select the RadRibbonBar in design-time and set its StartMenuWidth property to 0. This way the width of the start menu will be calculated automatically.
  2. Select the RadRibbonBar in design-time and choose events in the property gird. Expand OptionsButton field and double click in the value of its Click event to automatically generate event handler.

If you have further questions don't hesitate to write us again.

Sincerely yours,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Pierre
Top achievements
Rank 1
answered on 21 Jan 2008, 06:31 PM
Thanks for your help.

I try to set the StartMenuWidth to 0. That work but when I hoover the menu content, the menu change every time the mouse change of location. The menu start flikering when th e mouve hoover the selection choice. Any idea to stop this behavior?
0
Angel
Telerik team
answered on 22 Jan 2008, 09:11 AM
Hi Pierre,

Thanks for getting back to us.

I cannot reproduce this behavior. Could you please send me a demo project that reproduces the flickering behavior you're describing. It will help us address any potential issue faster.

Kind regards,
Angel
the Telerik team

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