Have you tried adding an object tag to your html page where the
control is hosted? The DLL that is created when you compile your
windows form will need to be placed in the directory where you can
reference it from your web server.
Example
<body>
<object classid="http:MyControl.dll#MyControl.MyClass" VIEWASTEXT>
<PARAM NAME="Param1" VALUE="Value1">
<PARAM NAME="Param2" VALUE="Value2">
</object>
For simplicity sake I usually copy the DLL into the same directory as
the web app.
Hope this helps.
Kind Regards,
John
On 26 Mar 2005 14:14:19 -0800, "Nikolay Petrov" <jo******@mail.bg>
wrote:
I've created a simple custom control with a textbox and buttom on it.
When placed in .htm page an empty box shown in IE.
I've added the site to trusted sites.
still no luck.
any ideas?