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

Menu select event parameter

2 Answers 84 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 07 Jun 2012, 02:45 PM
Hi,

I'm trying to load a div from a html file via jQuery on a menu item select.  I need to be able to specify the url of the html file as part of the menu structure and then process that in the select event of the menu without the browser trying to navigate to the specified page.  I'm sure that this is this possible, but I am having difficulty locating any documentation that can help.  Can anyone point me to where I can find out more details about the menu items, event parameters, etc. beyond the demos and the documentation on this site? 

Thanks.
Alex.

2 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 11 Jun 2012, 07:59 AM
Hello Alex,

Currently the Menu doesn't stop navigation when you prevent the select event. However, that should be the correct behavior and I went ahead and implemented that for the next release (and the next internal build). Meanwhile you can use something like this to store the URLs in the JSON object and then access them in the select event:


I've updated your points for the find.

Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mario Petrov
Top achievements
Rank 1
answered on 25 Jul 2012, 02:03 PM
That was useful ! Thanks
Tags
Menu
Asked by
Alex
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Mario Petrov
Top achievements
Rank 1
Share this question
or