Page 1 of 1

reloading my before page when pressing back button

Posted: Thu Jun 12, 2014 3:10 am
by sajed

hello
i have added back button to my page but when i press it the app will navigate to the page before but it reloads it completely ,how can i navigate to it without reloading it again ??


reloading my before page when pressing back button

Posted: Thu Jun 12, 2014 5:37 am
by Kateryna Grynko

Hi Sajed,

Did you try ticking "Render all pages in one HTML file (jQuery Mobile multi-page template)" in App settings?


reloading my before page when pressing back button

Posted: Fri Jun 13, 2014 4:03 pm
by sajed

it works :) thanks a lot


reloading my before page when pressing back button

Posted: Fri Jun 13, 2014 4:32 pm
by sajed

but using this way my result page isnt loading new results when i re enter it


reloading my before page when pressing back button

Posted: Sat Jun 14, 2014 9:13 am
by Maryna Brodina

Hello!

Are there any errors in console?


reloading my before page when pressing back button

Posted: Sat Jun 14, 2014 10:47 am
by Abu Ali

no errors in console, the exact problem is that Page Load Event is not invoked again , so i replaced Load with PageShow Event in order to fix it.


reloading my before page when pressing back button

Posted: Sat Jun 14, 2014 2:00 pm
by obullei

Hello!

We are working on it at the moment and will get back to you with update as soon as possible.


reloading my before page when pressing back button

Posted: Sat Jun 14, 2014 9:15 pm
by Alena Prykhodko

Hello,

If I understand correctly, then you should use Page show event here.
Please find more about events here http://devcenter.appery.io/documentat...

Load - fires after the page is successfully loaded and inserted into the DOM.

Page show - fires every time the page is displayed after the transition animation has completed.