This is a migrated thread and some comments may be shown as answers.
app.pane.history
4 Answers 62 Views
This is a migrated thread and some comments may be shown as answers.
Gensys Development
Top achievements
Rank 1
Gensys Development asked on 28 Feb 2014, 08:58 PM
Hi,

Since the latest version the app.pane.history became obsolete? (Only contains one item).
Is there any way to know the amount of items in the history now?



4 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 03 Mar 2014, 09:14 AM
Hi Jack,

this is correct, the mobile application now binds the pane navigation to the browser history object. You can use its length field for that purpose, but keep in mind that this may include previously visited pages in case you are browsing the project through the device browser (vs deploying with PhoneGap). 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dorian
Top achievements
Rank 2
answered on 10 Mar 2014, 10:26 AM
Hello, since this relates to what bothers me as well I'll put my question here:
I have a User List page on which users picks himself and is navigated to the login page and upon login is navigated to a collection of drawer connected pages which all employ the almighty back button. I would like therefore to upon successful login delete the intermediary login page from the history so if user would tap the back button it would navigate him on the User List page, skipping the Login altogether. If that is not possible could I somehow detect it would get navigated to that page and then somehow circumvent it by putting my own app.navigate("#where-ever-i-really-want-to-go-in-this-case") js statement.

Thank you for your time.
0
Petyo
Telerik team
answered on 10 Mar 2014, 12:19 PM
Hello Dorian,

Your scenario and requirements are valid ones. We are currently working on integrating on a feature (based on location.replace and replaceState history API), that will allow you to achieve that. I think that we will be able to ship it in our upcoming Q1 release, due this month. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dorian
Top achievements
Rank 2
answered on 10 Mar 2014, 12:36 PM
Thank you Petyo for your quick reply. I will be on the look out for it when 2014-Q1 is relased.
Asked by
Gensys Development
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Dorian
Top achievements
Rank 2
Share this question
or