WinForms Control in a web page

R

Robert

I'm trying to use a WinForms control in a web page and am
having some difficulty. Perhaps someone here will know
what I'm doing incorrectly...

1. I created a WinForms control and tested it in a WinForm
and it works as expected.
2. I added the dll as a reference on my web form.
3. I embedded an object tag like:
<object id="objPromoDesc"
classid="http://localhost/WebApplication1/bin/MyControl.dll
#MyNamespace.MyClass" width="528" height="72"
VIEWASTEXT></object>

4. I set the virtual directory (and bin subdir) with
execution permissions on "scripts".

No errors occur, but the control doesn't render properly.
Any ideas or steps I missed?

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top