使用asp.net页面的Web浏览器控件 [英] web browser control with asp.net page

查看:98
本文介绍了使用asp.net页面的Web浏览器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


任何人都可以通过我创建的浏览器并在url上导航的asp.net页面来帮助添加Web浏览器控件,并且我还可以填写所有信息并阅读html,但是我看不到所有内容,这意味着我如何使其可见(浏览器)在aspx页面上.

我还尝试通过遵循以下代码将问题替换为iframe


anybody can help to add a web browser control with asp.net page i created browser and which navigates on url and i can also fill all information and read html but i am unable to see all that means how can i make visible it(browser) on aspx page.

i also tried replace that issue by iframe by following code

HtmlControl ctrl = (HtmlControl)this.UpdatePanel1.FindControl("mainiFrame");
ctrl.Attributes["src"] = "http://www.google.com";


但是使用iframe时,我在aspx上找到了类似于google.com的导航页面,但是如何插入值并读取此(例如google.com)页面的html.


but with iframe i found navigated page like google.com on my aspx but how can i insert value and read html of this(eg. google.com) page.

推荐答案

检查那些链接:

在ASP.NET中使用WebBrowser控件 [在.NET中使用WebBrowser控件 [
check those links :

Using the WebBrowser Control in ASP.NET[^]

Using the WebBrowser control in .NET[^]


我尝试过,但是它们只能与本地主机一起使用.
i tried but them but they are working only with localhost.


这篇关于使用asp.net页面的Web浏览器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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