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

RadMenu is sometimes unresponsive

2 Answers 115 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Gunnar
Top achievements
Rank 1
Gunnar asked on 17 Oct 2013, 06:20 PM
We have an odd problem with RadMenu. Unfortunately I haven't access to the version info at the moment but let's assume that we are using the "latest" releases of Telerik tools, IE9 and Firefox. (Update: Telerik version 2013.2.717.40)

The web site has been running for years with a home grown menu system but now we have changed to RadMenu (as the first attempt to use Telerik tools). I works like a charm for most of the time but we have one very odd problem. Occasionally, RadMenu does not fire the Click event.

It seems as - when using IE9 -  RadMenu doesn't fire the Click event if a textbox has focus after a postback. Sounds odd, I know...  We are able to reproduce the problem on a page that has a textbox for search argument, a Search button and a resultant gridview. If we use that page in a way that causes the textbox to have focus after a postback, the problem is present.

What SHOULD happen (and did happen before upgrading to RadMenu):

  1. Enter whatever you want in the textbox
  2. Press Enter or click Search
  3. Get a resultant grid (or not, if no hit)
  4. Hovering over a root menu item will automatically expand a submeny
  5. Click a submenu item
  6. The new page will open.

With RadMenu, the following alternatives are present:

  • If the Search button is used, everything works as above. (the textbox doesn't have focus after popstback)
  • If a real result is presented (regardless of if Enter or Search is used), everything works as above. (the textbox doesn't have focus after postback)
  • If NO result is returned AND the Enter button was used, the textbox have focus after postback and the following happens:

  1. Enter something that will result in no hits
  2. Press Enter
  3. After postback, no result is presented and the input cursor is still in the textbox.
  4. Hovering over a root menu item will automatically expand a submenu
  5. The cursor in the textbox will be visible through the submenu if they occupy the same screen space.
  6. The first click on a submenu item will highlight that item but nothing more happens. No postback, nothing.
  7. Click another submenu item, or let  the submenu collapse and then expand again and click the same item once more.
  8. The new page will open.

So, from what I can see, the FIRST click on a submenu item doesn't work if a textbox has focus after a postback.
To add to the confusion: If I manually set focus to the textbox before using the menu, everything works as expected. And please note that this is just an example - the same problem is present on all pages that has a similar functionality.
And finally...browsing the same web site with Firefox is flawless, no problem at all...

Is this a known situation?

2 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 21 Oct 2013, 06:58 AM
Hi Gunnar,

I have inspected the provided information and the experienced problem indeed seems to be quite odd. In order to further troubleshoot this issue,  please open a support ticket and provide a runnable sample page so we could debug it locally.

Regards,
Dimitar Terziev
Telerik
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 the blog feed now.
0
Gunnar
Top achievements
Rank 1
answered on 23 Oct 2013, 07:20 PM
After some further investigation I realized that this isn't a Telerik RadMenu issue at all. At the same time as we introduced RadMenu we also switched from IE7 to IE-edge compatibility mode, and the problem is actually related to IE9 rendering in IE-edge (i.e. IE9) mode.

Something on our site causes IE9 to react in this way, and the problem actually occurs on all controls on the page, not just RadMenu. The same thing occurs if I click a button (standard ASP, not RadButton) on the page - the first click is ignored but if I click another button I get a click event.

The problem only occurs in IE9 when running in IE9 mode. Firefox doesn't have this problem and neither do IE9 if run in IE7 mode. The old site (that has been running for years in IE7 compatibility mode) has the same problem if I force IE9 to override the IE7 compatibility mode and run in IE9 mode.

I must try to find out what causes this, but it's obviously not RadMenu. Sorry for blaming Telerik :-/
Tags
Menu
Asked by
Gunnar
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Gunnar
Top achievements
Rank 1
Share this question
or