Hi,
i have a horizontal menu that I would like to restrict to a fixed width and not wrap around, it seem that the GroupSettings-Width should do the trick. How do I set the GroupSettings-Width property on the radmenu that I am building in the code behind?
I'm guessing the property is GroupSettings.Width = Unit.Pixel(750), but on what am I setting this property?
thanks
4 Answers, 1 is accepted
0
Hi David,
You need to specify on which item you want to add this group setting. For example:
If you want to set GroupSettings on all RadMenuItems, you can use DefaultGroupSettings of RadMenu:
Hope this will be helpful.
Regards,
Aneliya Petkova
Telerik
You need to specify on which item you want to add this group setting. For example:
RadMenu1.FindItemByText(
"Item 1"
).GroupSettings.Width = 700;
If you want to set GroupSettings on all RadMenuItems, you can use DefaultGroupSettings of RadMenu:
RadMenu1.DefaultGroupSettings.Width = 700;
Hope this will be helpful.
Regards,
Aneliya Petkova
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0

david
Top achievements
Rank 1
answered on 24 Jul 2015, 12:22 PM
Thank you, but perhaps I did not explain what I wanted, the first example here is what I need (root item scroll ?)
http://demos.telerik.com/aspnet-ajax/menu/examples/multicolumnmenu/defaultcs.aspx
0

david
Top achievements
Rank 1
answered on 24 Jul 2015, 02:07 PM
duh, its really simple "EnableRootItemScroll"
0
Hi david,
Yes, that's correct - if you need to show a scroll on the root RadMenuItems, you must set Width of the RadMenu and EnableRootItemScroll="true".
Regards,
Aneliya Petkova
Telerik
Yes, that's correct - if you need to show a scroll on the root RadMenuItems, you must set Width of the RadMenu and EnableRootItemScroll="true".
Regards,
Aneliya Petkova
Telerik
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 Feedback Portal
and vote to affect the priority of the items