views:

60

answers:

3

How can we add a winforms user control in an aspx page?

Any help will be appreciated.

A: 

You can't, as far as I'm aware. If you want a native client style experience in a web app (and AJAX isn't good enough for you), you should look at using SilverLight.

Jon Skeet
When using IE and .Net (at least at the time of .NET 1.0) you could use a WinForm control in the same way as a ActiveX control. Not many people did due to the small number of users that had .net installed.
Ian Ringrose
+2  A: 

Take a look at an article from ASP.NET.4guysFrom - Hosting a Windows Control in a Web Form and also Hosting .NET Windows Forms Controls in IE

adatapost
A: 

its possible to embebed but user will need to download the assembly and executed locally

http://weblogs.asp.net/spano/archive/2007/09/19/hosting-a-windows-form-control-in-a-web-page.aspx

Oscar Cabrero