开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜