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

Radmenu in RadAjaxPanel

3 Answers 53 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Larevenge
Top achievements
Rank 1
Larevenge asked on 11 Nov 2015, 08:52 PM

Hi there,

I'm currently using a Radmenu in a RadAjaxPanel. On a Itemclick in the radmenu i clear the multipage and add a new one based on the value of the radmenuitem, the radmenu however stays expanded after the refresh. If i remove the above RadAjaxPanel the radmenu doesn't stay expanded, with the radajaxpanel it does. How can I solve this?

Kind Regards,

 

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 16 Nov 2015, 09:30 AM
Hello,

Do you use the RadMenu in Mobile render mode? If so, the problem that you are referring to is a bug, which is already forwarded to our developer team.

http://feedback.telerik.com/Project/108/Feedback/Details/165515-mobile-radmenu-does-not-collapse-its-dropdown-if-updated-through-ajax

Regards,
Nencho
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
Larevenge
Top achievements
Rank 1
answered on 16 Nov 2015, 09:47 AM

Hi Nencho,

That is exactly what I'm doing. Is there any outsight on when this bug will be solved?

Kind Regards,

Corné

0
Nencho
Telerik team
answered on 18 Nov 2015, 03:11 PM
Hello Corné,

I am afraid that I cannot provide you with an exact timeframe for the fix release, however, I have increased the priority of the bug, so it will be fixed as soon as possible. As a temporal workaround, I would suggest you to handle the OnClientItemClicking in the following manner:

<script type="text/javascript">       
           function OnClientItemClicking(sender, eventArgs) {
               if (eventArgs.get_item().get_postBack()) {
                   var argument = $telerik.isTouchDevice ? "touchend" : "click"
                   $telerik.$('.rmRootToggle').trigger(argument);
               }
           }
       </script>


Regards,
Nencho
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
Tags
Menu
Asked by
Larevenge
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Larevenge
Top achievements
Rank 1
Share this question
or