.NET控件的问题
来源:百度知道 编辑:UC知道 时间:2024/06/17 01:28:59
用.net写的winform控件,能在ASP.NET哪里用吗?要是能用怎么用,如果不能请说明下原因,谢谢!
能,作为ActiveX控件来用,不过只支持IE,还有N多安全限制
我做过这个,下面是我搜集的相关资料
Hosting .NET Windows Forms Controls in IE
http://www.15seconds.com/issue/030610.htm
Including a winforms user control in an asp.net web page
http://codebetter.com/blogs/peter.van.ooijen/archive/2007/06/18/including-a-winforms-user-control-in-an-asp-net-web-page.aspx
Hosting a Windows Control in a Web Form
http://aspnet.4guysfromrolla.com/articles/052604-1.aspx
http://forums.asp.net/t/1309245.asp