3
Answers

User controls in a Web application

Brian

Brian

18y
3.8k
1
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.
Answers (3)