如何在IE9中使用自定义.net控件 [英] How do I can use custom .net control in IE9

查看:88
本文介绍了如何在IE9中使用自定义.net控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我写了名为y.dll的C#dll,其中有一个名为UserControl1的自定义控件。

该DLL的ComVisible设置为true。



我用html编写html页面我使用自定义控件



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>





我用IE9打开页面但是浏览器没有显示UserControl1,我尝试使用兼容模式和F12工具但没有。



有人可以帮助我?



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 ?

推荐答案

这个问题毫无意义,只是因为客户端并不知道任何关于服务器端发生的事情。浏览器完全不知道它是什么:ASP.NET或任何其他技术。您需要对Web的工作方式有一些基本的了解,然后再次考虑您的问题。



-SA
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


这篇关于如何在IE9中使用自定义.net控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆