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

RadMenu Item not being displayed after scrolling

3 Answers 129 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ravneet
Top achievements
Rank 1
Ravneet asked on 21 Feb 2013, 07:26 PM
Hi,
i have a RAD Menu control implemented on my ASP.Net web app. the control is being populated dynamically from database and i have a scrolling buttons on each side of the control (given width to the control in order to get the scrolling buttons). the problem i am facing is that when i scroll to the near end of the menu and click on any item, the menu defaults to the first item and i cannot see the selected item on the page. i have to again scroll to the end to see what the item was selected.
is there a way i can set the selected item on the menu visible and stop the control from scrolling it to the beginning?

3 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 21 Feb 2013, 08:32 PM
Hi Ravneet,

Are you trying to keep the RadMenu expanded after an item is clicked? The default action is for the menu to collapse and show only the roots of each item list. To control exactly what happens when an item is clicked, override the ItemClick event. If you are trying to display the user selection in the box, you may want to use a different RadControl such as a ComboBox or DropDownList. Good luck with your project.

Hopefully this helps,
Master Chief.
0
Ravneet
Top achievements
Rank 1
answered on 27 Feb 2013, 06:28 PM
Hi Chief,
i am populating the RAD Menu control dynamically and it has only the root items and no sub menus are available. my issue is that if i set the width of the RAD menu, it displays the scroll bar on the right side corner. Now if i select an item by scrolling to the right, the item gets selected but the scroll position sets itself to the beginning of the Menu control.

i want the item be displayed and the scroll or the item position remains displayed on the screen for the user to see what he clicked.

please refer the attached image and see the behavior.

Would appreciate if somebody can help me out

0
Kate
Telerik team
answered on 04 Mar 2013, 02:57 PM
Hello Ravneet,

I tested the scenario that you describe with the 2013.1.220.40 version of the Telerik controls but I was not able to replicate the issue that you describe. Here is a short video for your reference that demonstrates what I get from my side. Can you please open a support ticket and provide us with a very simplified runnable project that we can test locally and help you out ? Can you also clarify the version of our controls that you use?

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Ravneet
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Ravneet
Top achievements
Rank 1
Kate
Telerik team
Share this question
or