Click here to Skip to main content
15,884,627 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello, I write C# dll named "y.dll" in wich there is a custom control named "UserControl1".
The dll has ComVisible set to true.

I write html page in wich I use custom control

<OBJECT id='custom' classid='http:y.dll#y.UserControl1' width='150' height='150' ></OBJECT>


I open the page with IE9 but browser doesn't display "UserControl1", I try to use compatibility mode with F12 tool but nothing.

Can someone help me ?
Posted
Comments
Kornfeld Eliyahu Peter 25-Feb-14 3:07am    
Add VIEWASTEXT to your object tag...

1 solution

The question makes no sense at all, just because client side does not "know" anything about what happens on the server side. Browsers are totally agnostic to what it is: ASP.NET or any other technologies. You need to get some basic understanding on how Web works, and then think of your problems again.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900