你好,我可以请假你几个silverlight的问题吗?
2013-06-22
展开全部
这个不迟枯难。
方式一,使用纯HTML。如:
<div style="width: 505px; float: left; border-style: solid; border-width: 1px; padding-left: 5px;
margin: 2px 2px 2px 2px;">
<div style="display: block; font-weight: bolder; margin-bottom: 5px; margin-top: 5px;">
<%# Eval("PEName")%>
</div>
<div>
<div style="height: 100px; width: 500px; text-align: left;">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
width="闷稿500px" height="100px">
<param name="source" value="/ClientBin/mpost.SilverlightMultiFileUpload.xap" />
<param name="background"蚂旦孝 value="white" />
<param name="minRuntimeVersion" value="4.0.50826.0" />
<param name="autoUpgrade" value="true" />
<param name="initParams" value='HttpUploader=true,MaxFileSizeKB=,MaxUploads=1,FileFilter=,CustomParams=<%# GetCustomerParas(Eval("PEId"), Eval("FileType"), Eval("ObjectID"), Eval("PEName"), Eval("PhasesId"), Eval("PTCode"), Eval("PNID"), Eval("PTId"), Eval("taskId"), Eval("DriverPhasesid")) %>,DefaultColor=White,UploadHandlerName=Ajax/HttpUploadHandler.ashx,CheckExtensionsHandler=Ajax/ShopManage.ashx' />
<a href=" http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration: none">
<img src=" http://go.microsoft.com/fwlink/?LinkId=161376" alt="获取 Microsoft Silverlight"
style="border-style: none" />
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px;
border: 0px"></iframe>
</div>
</div>
</div>
方式二,使用Silverlight控件。需要先注册:
<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
然后
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Silverlight ID="Xaml1" runat="server" OnPluginLoaded="pluginLoaded" Source="~/ClientBin/mpost.SilverlightMultiFileUpload.xap"
MinimumVersion="2.0.31005.0" Width="500" Height="280" />
方式一,使用纯HTML。如:
<div style="width: 505px; float: left; border-style: solid; border-width: 1px; padding-left: 5px;
margin: 2px 2px 2px 2px;">
<div style="display: block; font-weight: bolder; margin-bottom: 5px; margin-top: 5px;">
<%# Eval("PEName")%>
</div>
<div>
<div style="height: 100px; width: 500px; text-align: left;">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
width="闷稿500px" height="100px">
<param name="source" value="/ClientBin/mpost.SilverlightMultiFileUpload.xap" />
<param name="background"蚂旦孝 value="white" />
<param name="minRuntimeVersion" value="4.0.50826.0" />
<param name="autoUpgrade" value="true" />
<param name="initParams" value='HttpUploader=true,MaxFileSizeKB=,MaxUploads=1,FileFilter=,CustomParams=<%# GetCustomerParas(Eval("PEId"), Eval("FileType"), Eval("ObjectID"), Eval("PEName"), Eval("PhasesId"), Eval("PTCode"), Eval("PNID"), Eval("PTId"), Eval("taskId"), Eval("DriverPhasesid")) %>,DefaultColor=White,UploadHandlerName=Ajax/HttpUploadHandler.ashx,CheckExtensionsHandler=Ajax/ShopManage.ashx' />
<a href=" http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration: none">
<img src=" http://go.microsoft.com/fwlink/?LinkId=161376" alt="获取 Microsoft Silverlight"
style="border-style: none" />
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px;
border: 0px"></iframe>
</div>
</div>
</div>
方式二,使用Silverlight控件。需要先注册:
<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
然后
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Silverlight ID="Xaml1" runat="server" OnPluginLoaded="pluginLoaded" Source="~/ClientBin/mpost.SilverlightMultiFileUpload.xap"
MinimumVersion="2.0.31005.0" Width="500" Height="280" />
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-06-22
展开全部
银色黎明?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询