Silverlight 3的工具没有显示在Visual Studio中了 [英] Silverlight 3 Tools not showing up in Visual Studio

查看:147
本文介绍了Silverlight 3的工具没有显示在Visual Studio中了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载并安装了 Silverlight 3的工具的。

我想用在ASP.net页面Silverlight的服务器控件,但我没有在我的工具箱Silverlight的标签。

I want to use the Silverlight server control in an ASP.net page, but I don't have the Silverlight tab in my toolbox.

我也找不到System.Web.Silverlight.dll将其添加自己。

I also can't find System.Web.Silverlight.dll to add it myself.

推荐答案

这将是因为在Silverlight 3控制已被删除。你需要建立<对象... 标记自己。下面是一个简单的例子: -

That will be because in silverlight 3 that control has been removed. You need to build the <object ... tag yourself. Here is a simple example:-

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">  
  <param name="source" value="ClientBin/SilverlightApplication1.xap"/>
  <param name="background" value="white" />
  <param name="minRuntimeVersion" value="3.0.40624.0" />
  <param name="autoUpgrade" value="true" />
  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
     <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
  </a>
</object>

但是如果你想要的标准错误处理时SL安装行为,你将需要添加的onError参数的函数来处理这些错误点自动加载的,并包括其仍在SL3的一部分Silverlight.js的安装。

However if you want the standard error handling and automatic reload when SL installed behaviour you will need to add the onError parameter to point at function to handle the errors and include the silverlight.js which is still part of the SL3 install.

这篇关于Silverlight 3的工具没有显示在Visual Studio中了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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