<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>SLContentMenu</title>
<style type="text/css">
html, body {
height: 100%;
overflow: auto;
}
body {
padding: 0;
margin: 0;
}
#silverlightControlHost {
height: 100%;
text-align:center;
}
</style>
<script type="text/javascript" src="Silverlight.js"></script>
<script type="text/javascript">
function onSilverlightError(sender, args) {
var appSource = "";
if (sender != null && sender != 0) {
appSource = sender.getHost().Source;
}
var errorType = args.ErrorType;
var iErrorCode = args.ErrorCode;
if (errorType == "ImageError" || errorType == "MediaError") {
return;
}
var errMsg = "Silverlight 应用程序中未处理的错误 " + appSource + "\n" ;
errMsg += "代码: "+ iErrorCode + " \n";
errMsg += "类别: " + errorType + " \n";
errMsg += "消息: " + args.ErrorMessage + " \n";
if (errorType == "ParserError") {
errMsg += "文件: " + args.xamlFile + " \n";
errMsg += "行: " + args.lineNumber + " \n";
errMsg += "位置: " + args.charPosition + " \n";
}
else if (errorType == "RuntimeError") {
if (args.lineNumber != 0) {
errMsg += "行: " + args.lineNumber + " \n";
errMsg += "位置: " + args.charPosition + " \n";
}
errMsg += "方法名称: " + args.methodName + " \n";
}
引发新错误(errMsg);
}
</script>
</head>
<body>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="ClientBin/SLContentMenu.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50826.0" />
<param name="autoUpgrade" value="true" />
<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>
</form>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
silverlight菜单控件
共62个文件
cs:16个
js:13个
aspx:8个
4星 · 超过85%的资源 需积分: 3 77 下载量 150 浏览量
2011-08-19
08:35:07
上传
评论 1
收藏 458KB RAR 举报
温馨提示
silverlight4的菜单控件,使用ContentControl.Content放置菜单内容,可以支持任何类型的菜单项。这是我自己写的,大家如果需要,可以随便使用。
资源推荐
资源详情
资源评论
收起资源包目录
silverlight菜单控件.rar (62个子文件)
SLContentMenu
SLContentMenu.sln 2KB
SLContentMenu.suo 42KB
SLContentMenu
App.xaml 296B
Bin
Release
Debug
ko
fr
zh-Hans
tr
da
eu
uk
hu
pl
pt
he
de
zh-Hant
ru
pt-BR
hr
sv
id
it
ro
lv
lt
vi
et
el
ar
sl
ca
nl
ms
ja
sr-Cyrl-CS
bg
th
sr-Latn-CS
es
sk
no
cs
fi
obj
Debug
App.g.cs 2KB
DesignTimeResolveAssemblyReferencesInput.cache 6KB
MainPage.g.i.cs 3KB
TempPE
MainPage.g.cs 3KB
App.g.i.cs 2KB
DesignTimeResolveAssemblyReferences.cache 14KB
MainPage.xaml.cs 2KB
App.xaml.cs 2KB
SLContentMenu.csproj.user 1KB
Properties
AssemblyInfo.cs 1KB
AppManifest.xml 207B
MainPage.xaml 19KB
SLContentMenu.csproj 5KB
WithoutLicense.SLContentMenu
Bin
Release
Debug
ContentMenuViewModel.cs 3KB
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache 5KB
TempPE
ContentMenuBar.cs 8KB
WithoutLicense.SLContentMenu.csproj 4KB
WithoutLicense.SLContentMenu.csproj.user 1KB
Properties
AssemblyInfo.cs 1KB
ContentMenuBarItem.cs 3KB
SLContentMenu.Web
Silverlight.js 8KB
Controllers
AccountController.cs 5KB
HomeController.cs 485B
App_Data
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache 11KB
TempPE
bin
Views
Home
About.aspx 405B
Index.aspx 526B
Account
ChangePasswordSuccess.aspx 433B
ChangePassword.aspx 2KB
Register.aspx 2KB
LogOn.aspx 2KB
Shared
Site.Master 1KB
LogOnUserControl.ascx 355B
Error.aspx 424B
Web.config 2KB
Content
Site.css 5KB
Web.config 3KB
Web.Debug.config 1KB
SLContentMenu.Web.csproj 7KB
Global.asax.cs 975B
SLContentMenuTestPage.html 3KB
ClientBin
SLContentMenu.xap 121KB
Scripts
jquery-1.4.1.js 166KB
jquery.validate-vsdoc.js 49KB
MicrosoftAjax.debug.js 316KB
MicrosoftMvcValidation.debug.js 44KB
MicrosoftMvcAjax.debug.js 22KB
MicrosoftMvcValidation.js 20KB
MicrosoftAjax.js 106KB
jquery-1.4.1-vsdoc.js 241KB
jquery.validate.js 45KB
jquery-1.4.1.min.js 77KB
MicrosoftMvcAjax.js 13KB
jquery.validate.min.js 33KB
Web.Release.config 1KB
Global.asax 109B
Properties
AssemblyInfo.cs 1KB
SLContentMenu.Web.csproj.user 1KB
Models
AccountModels.cs 10KB
SLContentMenuTestPage.aspx 3KB
共 62 条
- 1
wantalcs
- 粉丝: 13
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tiamo软件教程.doc
- nvm管理Nodejs多版本工具
- Unit1Howcanwebecomegoodlearners知识点整理(良心出品必属精品).doc
- 基于JSP在线维他茶饮销售网站平台源码.zip
- web学习笔记.doc
- 基于pytorch+Unet进行MRI肝脏图像分割源码+数据集+模型.zip
- 在Android Studio中开发一个Android App项目步骤
- 基于yolov8实现进行物体跟踪源码.zip
- Java多线程学习Java多线程学习Java多线程学习Java多线程学习.txt
- 算法数据结构-动态规划算法(Dynamic Programming)超详细总结加应用案例讲解.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页