在asp.net网站网页浏览器类 [英] webbrowser class in asp.net website
问题描述
我有需要去一个网页,并采取它的屏幕截图的要求。
I have a requirement which needs to go to a webpage and take a screenshot of it.
为了这个,我必须创建一个ASP.NET使用户可以输入网站网址..
for this I have to create a ASP.NET so that the user can enter the website URL..
我试图创建一个Web浏览器控件..但后来意识到我不能创建一个asp.net网站的Web浏览器控件。
I was trying to create a web browser control.. but later realized I cant create web browser control in a asp.net website ..
我试图做这样的事情的http://pietschsoft.com/post/2008/07/C-Generate-WebPage-Thumbmail-Screenshot-Image.aspx可以有一个人帮助我如何与这个开始,因为我知道,我们只能在窗口的形式,而在网站上使用网络浏览器组件。
I am trying to do something like this http://pietschsoft.com/post/2008/07/C-Generate-WebPage-Thumbmail-Screenshot-Image.aspx can some one help me how to start of with this as i know we can only use web browser component in windows forms and not on website..
我不知道如果我的问题是太傻了,我失去了一些东西。可有一个人帮我。
I am not sure if my question is too silly and i am missing something.. can some one help me
PS:让我知道如果我的问题是不清楚。我会尽力更具体
PS : Let me know if my question is unclear.. I ll try to be more specific!
推荐答案
您可以在ASP.net使用WebBrowser控件服务器端。只需添加一个引用System.Windows.Forms的。
You can use the WebBrowser control server-side in ASP.net. Just add a reference to System.Windows.Forms.
这篇关于在asp.net网站网页浏览器类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!