Hi there,
I'm using Kendo UI Mobile for a mobile application for a client, but am struggling with the events. I have found that the page-show and before-show events are only called the first time a page is loaded. If I navigate to the same page once more these events aren't triggered a second time.
My html:
The javascript:
If this is the correct way the events should work, could someone offer any other ideas on events that trigger at for each page view?
Aidan Langelaan
I'm using Kendo UI Mobile for a mobile application for a client, but am struggling with the events. I have found that the page-show and before-show events are only called the first time a page is loaded. If I navigate to the same page once more these events aren't triggered a second time.
My html:
1.
<
div
id
=
"page_test"
data-role
=
"view"
data-title
=
"Test"
data-before-show
=
"beforeshow()"
data-show
=
"show()"
>
2.
<
div
class
=
"view-content"
>
3.
Test!
4.
</
div
>
5.
</
div
>
1.
function
beforeshow() {
2.
alert(
'beforeshow'
);
3.
}
4.
5.
function
show() {
6.
alert(
'show'
);
7.
}
Aidan Langelaan