开发者

Accessing the HTML contents of WP7 WebBrowser control

Once I've navigated to a URL, can I retrieve the HTML that's inside the WebBrowser contr开发者_Python百科ol?

Maybe there are some javascript hacks I can do via InvokeScript and ScriptNotify


Yes - use this function:

WebBrowser.SaveToString()

http://msdn.microsoft.com/en-us/library/microsoft.phone.controls.webbrowser.savetostring(v=vs.92).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜