Wednesday, March 28, 2012

What is the .NET equivalent of an ActiveX control than can be embeded in a web page?

I need to create a control that I can embed in an aspx page that provides windows form (application) like functionality. It needs to access the serial port and dynamically display some controls and feedback. Now I'm pretty sure if I went back a few years I would just create an activeX control that had a GUI. What I'm trying to figure out is what the equivilent concept is under .NET, and what type of project/library that is considered that would give me this control type functionality with a nice GUI.

I can assume IE7 browser and .NET 2.0 installed on the client machine.

You should dive into Windows User Controls.

Here's an article on the subject:http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=187

Good luck!


There is no "equivalent" but there is a wrapping layer that enables it anyway...

Hosting .NET Windows Forms Controls in IE

Since you're about to use the serial port it's possible you'll run into some trust issues. There is some discussion about that here:

http://www.dotnet247.com/247reference/msgs/18/92236.aspx

0 comments:

Post a Comment