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

[Solved] RadMenu Scrolling is not working

2 Answers 176 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Meghna
Top achievements
Rank 1
Meghna asked on 17 Sep 2009, 10:38 AM

I have used RadMenu version 2009.1.414.20, I want to set height of the RadMenu so that scroll will appear if menu items exceeds from mentioned height.

By using EnableAutoScroll="true" i am able to get scrollbar with respect to screen height but i want to set height of the RadMenuItems.
Below is the code, which i have used.


<

 

telerik:RadMenu Skin="Custom" EnableEmbeddedSkins="false" BorderWidth="0px" ID="RadMenu1" EnableScreenBoundaryDetection="false" EnableAutoScroll="true" EnableRootItemScroll="true"

 

 

runat="server" DataTextField="ScreenName" DataValueField="ScreenID" DataFieldID="ScreenID"

 

 

DataFieldParentID="ParentID" OnItemDataBound="RadMenu1_ItemDataBound" OnItemClick="RadMenu1_ItemClick">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</telerik:RadMenu>

Let me know if you have any solution?

 

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Sep 2009, 10:50 AM
Hi Meghna,

Please set DefaultGroupSettings-Height property of the menu in order to enable scrolling of child items.

All the best,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Meghna
Top achievements
Rank 1
answered on 18 Sep 2009, 05:42 AM
Hi Yana,

This worked if the menu items exceed certain heeight. But in that case those menu items which do not need scroll also extends to the particular height which we save in DefaultGroupSettings-Height.

Actaully scroll bar should appear for the menu items when it is > than 10 otherwise their is no need of scroll bar as well the height also should be according to the menu items.
Tags
Menu
Asked by
Meghna
Top achievements
Rank 1
Answers by
Yana
Telerik team
Meghna
Top achievements
Rank 1
Share this question
or