Windows phone 7 使用windws phone 8在webBrowser内的网站的文本框中键入文本

Windows phone 7 使用windws phone 8在webBrowser内的网站的文本框中键入文本,windows-phone-7,windows-phone-8,windows-phone,Windows Phone 7,Windows Phone 8,Windows Phone,尝试在我从webBrowser加载的certin网站的文本框中键入文本 尝试使用HtmleElement,但无法识别,因为它来自system.windows.FORMS 有没有办法解决这个问题 例如: browser.Navigate(new URI("http://www.google.com")); // Here get the textbox that we all type our text to search (the search textbox) //type text insi

尝试在我从webBrowser加载的certin网站的文本框中键入文本

尝试使用HtmleElement,但无法识别,因为它来自system.windows.FORMS

有没有办法解决这个问题

例如:

browser.Navigate(new URI("http://www.google.com"));
// Here get the textbox that we all type our text to search (the search textbox)
//type text inside it.

提前感谢。

您必须调用一些javascript。例如,要获得头衔:

因此,browser.InvokeScript(“eval”、“document.getElementById('inputbox'))。text='INPUT')


(javascript未经测试)。

Boland,我正在尝试获取textbow,以便键入它。windows phone中未引用HTMLPage,或者我缺少一个.*dll?嗯,我只是看到它确实是另一个命名空间。看我编辑的帖子。