Thursday, August 16, 2012

use web browser control in feed rss reader

use web browser control in feed rss reader

I followed this guide to create a rss reader

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh487167(v=vs.92).aspx

but I would like to use web browser control to open the feed instead of the WebBrowserTask. How can I achieve it?

Note: I am using C#

Answers & Comments...

Answer: 1

With reference to your link. You may follow the following approach:

Create a webBrowser control on your page. Call it say "webBrowser"

Use webBrowser.Navigate(uri); instead of the below three statements

        WebBrowserTask webBrowserTask = new WebBrowserTask();         webBrowserTask.Uri = uri;         webBrowserTask.Show(); 

in the function feedListBox_SelectionChanged. Hope it helps.

Answer by Milan Aggarwal for use web browser control in feed rss reader




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog