c# - Clear Navigationservice Buffer - Or Reset App? (Windows Phone 7) -


i have app i'm working on user gets navigated 2 pages deep, meaning:

select stuff, click next -> select stuff, click next -> results

on results page, i'm doing navigationservice.navigate() mainpage.xaml user has ability hit button can break things in app. how can clear buffer of pages available? way navigationservice.cangoback return false if it's true? if buffer can't cleared, there method restart app user mainpage.xaml without having navigation history?

thank you,
nick

here's few references solutions clearing stack.

want "reset" app how deal backstack pages?

removing page navigation stack

can navigation history cleared

alternatively, consider peter torr's suggestions on handling navigation scenarios.

introducing concept of “places”

redirecting initial navigation


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -