Hi,
I am looking at developing some user controls for use in both Windows forms and in a Web application. At a high level, what is the easiest way to do this? Since the Control and UserControl classes are part of the System.Windows.Forms namespace, I don't think these can be used in an ASP.NET application. Web user controls are part of the System.Web.UI namespace. I was thinking that I could use a MVC model to decouple the problems associated with the graphical display. Is there a better way to display similar functionality in both Windows Forms and in a Web format? Thanks.
User controls in a Web application
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SaurabhRank #2,654 · 523 reputationPosted Dec 16, 2005, 12:48 AM EST
This is a very good approach that u have.
And i am very much keen on learning this.
Please be kind enuf to mail ([email protected]) me also the solution when u get one.
Best Regards and Happy .Neting
Saurabh
Rendy Wendi14 reputationPosted Dec 17, 2005, 6:14 PM EST
madhusudhan2 reputationPosted Dec 20, 2005, 1:11 AM EST
what u do means.
u create custom control first.
u register u r control to tool box.
when ever u needany type of conrols u add like this way.
other wise u get problem from the user controls.