Page 1 of 1
Incorrect Event Fire in Detail Page
Posted: Fri Jan 16, 2015 2:56 pm
by Peter Lam
In Tablet Detail Page, I can see double "Load" event but I don't see "Page Show" event.
I use the following method to verify this:
I add JS event handle to "Load" and "Page Show" events to print different console log. In the console, I can see "Load" twice but I don't see "Page Show".
Incorrect Event Fire in Detail Page
Posted: Fri Jan 16, 2015 3:28 pm
by Bruce Stuart
I have seen this behavior as well ... I was debugging my app yesterday and saw it running events that should be processed only once during page load ... Twice ... I assumed it was bad code or an anomaly
Incorrect Event Fire in Detail Page
Posted: Fri Jan 16, 2015 7:31 pm
by Ihor Didevych
Hello Bruce,
You should add on master-detail page event onpageshow
Incorrect Event Fire in Detail Page
Posted: Fri Jan 16, 2015 11:52 pm
by Bruce Stuart
Ihor, on page show ... What could should I add ??
Incorrect Event Fire in Detail Page
Posted: Sat Jan 17, 2015 3:13 am
by Peter Lam
Hi lhor,
I can see "Page Show" event is fired once in master-detail page. Also, I want to do something to initial the detail page when the detail page is loaded or showed. I can't trigger the action in detail page from the master-detail page.
Incorrect Event Fire in Detail Page
Posted: Wed Jan 21, 2015 10:12 am
by Ihor Didevych
Bruce,
You can add what ever you would like. Previously event working for you
Incorrect Event Fire in Detail Page
Posted: Wed Jan 21, 2015 10:14 am
by Ihor Didevych
Hi Peter,
You can load event instead