c# - Windows 8 Mobile App + HTML5 + Web view -


i creating windows 8 app has 2 screens - 1. login 2. dasboard

we have created 2 html files, 2 xaml files above given screens -

xaml - 1. login.xaml 2. dashboard.xaml

html - 1. login.html 2. dashboard.html

initially, in app.config of project (windows 8 mobile app) have login.xaml file internally calls login.html , renders login screen. when user enters credentials web service call , response web service in html. now, if user authenticated web service how can navigate dashboard.xaml loads dashboard.html internally.

we not able navigate login.html dashboard.xaml (which loads dashboard.html).

thanks!

add webview control in login.xaml , load login.html in webview.

add eventhandler navigation completed event of webview.

in eventhandler monitor cookies or redirect url using params of event. if matches, navigate dashboard.xaml page.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -