RadMenu Item not being displayed after scrolling

4 posts, 0 answers
  1. Ravneet
    Ravneet avatar
    2 posts
    Member since:
    Feb 2013

    Posted 21 Feb 2013 Link to this post

    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?
  2. MasterChiefMasterChef
    MasterChiefMasterChef avatar
    152 posts
    Member since:
    Jan 2013

    Posted 21 Feb 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ravneet
    Ravneet avatar
    2 posts
    Member since:
    Feb 2013

    Posted 27 Feb 2013 Link to this post

    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

  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 04 Mar 2013 Link to this post

    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.
Back to Top