开发者

asp.net mvc vs asp.net webforms: how can I make my active-x workable

开发者 https://www.devze.com 2023-03-16 02:55 出处:网络
I have to put active-x object into asp.net mvc view <object classid=\"activex-site-path/my.dll#myobject\" width=\"288\" height=\"72\">

I have to put active-x object into asp.net mvc view

<object classid="activex-site-path/my.dll#myobject" width="288" height="72"> 
</object>

but IE doesn't show it (gray box is displayed instead with image icon). When I put the same lines into asp.net webforms project - active-x appears.

I guess there is something with pathes that are directed to controllers, so I tried to use Ignore开发者_高级运维Route the following way:

routes.IgnoreRoute("*.dll");
routes.IgnoreRoute("activex-site-path/{*pathInfo}");    

but it doesn't help.

What is wrong here?

0

精彩评论

暂无评论...
验证码 换一张
取 消