Answered by:
Webview on 8.1 doesnt load

Question
-
I found that the problem is with my WebView control.
The following line of code gives me the error
webview.NavigateToString("<html></");
(On execution of this line, the LoadCompleted Event is not at all firing, BUT it is working fine in windows8 )
I predict that the problem is with the character '/' but i dont know how to get rid of it.
And also how do i get notified when the "WebView cannot be Loaded" with the given string(by using NavigateToString() )
It hangs too, when i tried with the sample provided for webview 8.1
Thanks
Pradeep AJ
- Edited by Pradeep AJ Saturday, November 23, 2013 1:45 PM
Saturday, November 23, 2013 1:43 PM
Answers
-
On win 8.1 use the NavigationCompleted event instead. It should be raised even if there is an error in the document
- Marked as answer by Pradeep AJ Saturday, November 23, 2013 3:12 PM
Saturday, November 23, 2013 2:50 PM
All replies
-
That is not well formed html so I am not surprised the load event is not firing.Saturday, November 23, 2013 1:55 PM
-
Do we have any option to get notification when the web view cannot load? My requirement is I have to load when the user types, do we have any other way to achieve this?
Pradeep AJ
- Edited by Pradeep AJ Saturday, November 23, 2013 2:43 PM
Saturday, November 23, 2013 2:41 PM -
On win 8.1 use the NavigationCompleted event instead. It should be raised even if there is an error in the document
- Marked as answer by Pradeep AJ Saturday, November 23, 2013 3:12 PM
Saturday, November 23, 2013 2:50 PM -
Thanks I will try it.
Pradeep AJ
Saturday, November 23, 2013 3:12 PM