Windows Phone WebBrowser.Document替代? [英] Windows Phone WebBrowser.Document Alternative?

查看:51
本文介绍了Windows Phone WebBrowser.Document替代?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在Windows上的WebBrowser中使用了这些代码,它在Visual Studio中运行。

Hi everyone, I used these codes in a WebBrowser on Windows and it worked in Visual Studio.

TextBox2.Text = WebBrowser1.Document.GetElementById("area2").InnerText
WebBrowser1.Document.GetElementById("button").InvokeMember("click")
WebBrowser1.Document.GetElementById("area1").SetAttribute("value", TextBox1.Text)

但当我尝试在Windows Phone上使用该代码时,它说"'Document'不是''的成员' Microsoft.Phone.Controls.WebBrowser""。 Windows Phone上是否有替代代码?

But when I tried to use that codes on Windows Phone, it says "'Document' is not a member of 'Microsoft.Phone.Controls.WebBrowser'." Is there an alternative for that code on Windows Phone?

提前致谢。

推荐答案

您好berke581,

Hi berke581,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

由于此问题与Windows Phone有关,我们将此案例移至Windows Phone论坛:

Since this issue is related to the Windows Phone, so we will move this case to the Windows Phone forum:

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=wpdevelop   ;,您将获得更好的支持。

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=wpdevelop , you will get better support.

最好的问候,


这篇关于Windows Phone WebBrowser.Document替代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆