Hi,
I am trying to use kendo.mobile.ui.BackButton inside a navbar, in a mobile web application (mvc.net).
When taping the button I get the following error and then nothing happens:
TypeError: Result of expression 'e' [undefined] in kendo.mobile.min.js:12
here is my layout code (i'm using kendo version 2012.3.1114):
<div data-role="layout" data-id="mobileLayout">
<header data-role="header">
<div id="headerNavBarDiv" data-role="navbar">
<a id="backBtn" class="nav-button" data-align="left" data-role="backbutton">Back</a>
<div id="homeIconDiv" class="smallTempHomeIcon"></div>
<a id="showProjectHistory" data-align="right" data-role="button" data-icon="icon historyLight" style="display: none"></a>
</div>
<div id="titleDiv"></div>
</header>
</div>
<script>
var app;
$(document).ready(function () {
app = new kendo.mobile.Application($(document.body), { layout: "mobileLayout" });
});
</script>
As I understand from your documentation and lots of forum reading - this should be an easy one, but nothing I tried worked (including using the data-click or adding 'href=#:back')
I'll more then appreciate your help in this matter.
Thanks,
Ety
I am trying to use kendo.mobile.ui.BackButton inside a navbar, in a mobile web application (mvc.net).
When taping the button I get the following error and then nothing happens:
TypeError: Result of expression 'e' [undefined] in kendo.mobile.min.js:12
here is my layout code (i'm using kendo version 2012.3.1114):
<div data-role="layout" data-id="mobileLayout">
<header data-role="header">
<div id="headerNavBarDiv" data-role="navbar">
<a id="backBtn" class="nav-button" data-align="left" data-role="backbutton">Back</a>
<div id="homeIconDiv" class="smallTempHomeIcon"></div>
<a id="showProjectHistory" data-align="right" data-role="button" data-icon="icon historyLight" style="display: none"></a>
</div>
<div id="titleDiv"></div>
</header>
</div>
<script>
var app;
$(document).ready(function () {
app = new kendo.mobile.Application($(document.body), { layout: "mobileLayout" });
});
</script>
As I understand from your documentation and lots of forum reading - this should be an easy one, but nothing I tried worked (including using the data-click or adding 'href=#:back')
I'll more then appreciate your help in this matter.
Thanks,
Ety