Hi guys, as per title, I have setup a simple demo menu from the examples and added a select event. This works in Firefox 24, Chrome 29 (29.0.1547.76), but the event does not fire in IE 11.0.9600 UNLESS you select Compatibility Mode, then all is fine.
Code:
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="Content/Css/default.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<!-- Common Kendo UI Web CSS -->
<link href="Content/Css/kendo.common.min.css" rel="stylesheet" />
<!-- Default Kendo UI Web theme CSS -->
<link href="Content/Css/kendo.default.min.css" rel="stylesheet" />
<!-- Kendo UI Web combined JavaScript -->
<script type="text/javascript" src="js/debug/kendo.web.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#menu").kendoMenu({
select: function (e) {
// handle event
alert('clicked');
}
});
});
</script>
</head>
<body>
<ul id="menu">
<li>Normal Item
<ul>
<li><span class="k-sprite icon-class"></span>Item with a Sprite</li>
<li><img src="Icons/contacts.gif" />Item with an Icon</li>
</ul>
</li>
<li><a href="http://www.google.com">Navigation Item</a></li>
<li class="k-state-active">Active Item</li>
<li>Template Item
<div class="k-group k-content">
Test button - <a class="k-button">Button</a>
</div>
</li>
</ul>
</body>
Any ideas please?
Simon
Code:
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="Content/Css/default.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<!-- Common Kendo UI Web CSS -->
<link href="Content/Css/kendo.common.min.css" rel="stylesheet" />
<!-- Default Kendo UI Web theme CSS -->
<link href="Content/Css/kendo.default.min.css" rel="stylesheet" />
<!-- Kendo UI Web combined JavaScript -->
<script type="text/javascript" src="js/debug/kendo.web.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#menu").kendoMenu({
select: function (e) {
// handle event
alert('clicked');
}
});
});
</script>
</head>
<body>
<ul id="menu">
<li>Normal Item
<ul>
<li><span class="k-sprite icon-class"></span>Item with a Sprite</li>
<li><img src="Icons/contacts.gif" />Item with an Icon</li>
</ul>
</li>
<li><a href="http://www.google.com">Navigation Item</a></li>
<li class="k-state-active">Active Item</li>
<li>Template Item
<div class="k-group k-content">
Test button - <a class="k-button">Button</a>
</div>
</li>
</ul>
</body>
Any ideas please?
Simon