// Name: MicrosoftAjax.debug.js
// Assembly: System.Web.Extensions
// Version: 4.0.0.0
// FileVersion: 4.0.20526.0
//-----------------------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------
// MicrosoftAjax.js
// Microsoft AJAX Framework.
Function.__typeName = 'Function';
Function.__class = true;
Function.createCallback = function Function$createCallback(method, context) {
/// <summary locid="M:J#Function.createCallback" />
/// <param name="method" type="Function"></param>
/// <param name="context" mayBeNull="true"></param>
/// <returns type="Function"></returns>
var e = Function._validateParams(arguments, [
{name: "method", type: Function},
{name: "context", mayBeNull: true}
]);
if (e) throw e;
return function() {
var l = arguments.length;
if (l > 0) {
var args = [];
for (var i = 0; i < l; i++) {
args[i] = arguments[i];
}
args[l] = context;
return method.apply(this, args);
}
return method.call(this, context);
}
}
Function.createDelegate = function Function$createDelegate(instance, method) {
/// <summary locid="M:J#Function.createDelegate" />
/// <param name="instance" mayBeNull="true"></param>
/// <param name="method" type="Function"></param>
/// <returns type="Function"></returns>
var e = Function._validateParams(arguments, [
{name: "instance", mayBeNull: true},
{name: "method", type: Function}
]);
if (e) throw e;
return function() {
return method.apply(instance, arguments);
}
}
Function.emptyFunction = Function.emptyMethod = function Function$emptyMethod() {
/// <summary locid="M:J#Function.emptyMethod" />
}
Function.validateParameters = function Function$validateParameters(parameters, expectedParameters, validateParameterCount) {
/// <summary locid="M:J#Function.validateParameters" />
/// <param name="parameters"></param>
/// <param name="expectedParameters"></param>
/// <param name="validateParameterCount" type="Boolean" optional="true"></param>
/// <returns type="Error" mayBeNull="true"></returns>
var e = Function._validateParams(arguments, [
{name: "parameters"},
{name: "expectedParameters"},
{name: "validateParameterCount", type: Boolean, optional: true}
]);
if (e) throw e;
return Function._validateParams(parameters, expectedParameters, validateParameterCount);
}
Function._validateParams = function Function$_validateParams(params, expectedParams, validateParameterCount) {
var e, expectedLength = expectedParams.length;
validateParameterCount = validateParameterCount || (typeof(validateParameterCount) === "undefined");
e = Function._validateParameterCount(params, expectedParams, validateParameterCount);
if (e) {
e.popStackFrame();
return e;
}
for (var i = 0, l = params.length; i < l; i++) {
var expectedParam = expectedParams[Math.min(i, expectedLength - 1)],
paramName = expectedParam.name;
if (expectedParam.parameterArray) {
paramName += "[" + (i - expectedLength + 1) + "]";
}
else if (!validateParameterCount && (i >= expectedLength)) {
break;
}
e = Function._validateParameter(params[i], expectedParam, paramName);
if (e) {
e.popStackFrame();
return e;
}
}
return null;
}
Function._validateParameterCount = function Function$_validateParameterCount(params, expectedParams, validateParameterCount) {
var i, error,
expectedLen = expectedParams.length,
actualLen = params.length;
if (actualLen < expectedLen) {
var minParams = expectedLen;
for (i = 0; i < expectedLen; i++) {
var param = expectedParams[i];
if (param.optional || param.parameterArray) {
minParams--;
}
}
if (actualLen < minParams) {
error = true;
}
}
else if (validateParameterCount && (actualLen > expectedLen)) {
error = true;
for (i = 0; i < expectedLen; i++) {
if (expectedParams[i].parameterArray) {
error = false;
break;
}
}
}
if (error) {
var e = Error.parameterCount();
e.popStackFrame();
return e;
}
return null;
}
Function._validateParameter = function Function$_validateParameter(param, expectedParam, paramName) {
var e,
expectedType = expectedParam.type,
expectedInteger = !!expectedParam.integer,
expectedDomElement = !!expectedParam.domElement,
mayBeNull = !!expectedParam.mayBeNull;
e = Function._validateParameterType(param, expectedType, expectedInteger, expectedDomElement, mayBeNull, paramName);
if (e) {
e.popStackFrame();
return e;
}
var expectedElementType = expectedParam.elementType,
elementMayBeNull = !!expectedParam.elementMayBeNull;
if (expectedType === Array && typeof(param) !== "undefined" && param !== null &&
(expectedElementType || !elementMayBeNull)) {
var expectedElementInteger = !!expectedParam.elementInteger,
expectedElementDomElement = !!expectedParam.elementDomElement;
for (var i=0; i < param.length; i++) {
var elem = param[i];
e = Function._validateParameterType(elem, expectedElementType,
expectedElementInteger, expectedElementDomElement, elementMayBeNull,
paramName + "[" + i + "]");
if (e) {
e.popStackFrame();
return e;
}
}
}
return null;
}
Function._validateParameterType = function Function$_validateParameterType(param, expectedType, expectedInteger, expectedDomElement, mayBeNull, paramName) {
var e, i;
if (typeof(param) === "undefined") {
if (mayBeNull) {
return null;
}
else {
e = Error.argumentUndefined(paramName);
e.popStackFrame();
return e;
}
}
if (param === null) {
if (mayBeNull) {
return null;
}
else {
e = Error.argumentNull(paramName);
e.popStackFrame();
return e;
}
}
if (expectedType && expectedType.__enum) {
if (typeof(param) !== 'number') {
e = Error.argumentType(paramName, Object.getType(param), expectedType);
e.popStackFrame();
return e;
}
if ((param % 1) === 0) {
var values = expectedType.prototype;
if (!expectedType.__flags || (param === 0)) {
for (i in values) {
if (values[i] === param) return null;
}
}
else {
var v = param;
for (i in values) {
var vali = values[i];
if (vali === 0) continue;
if ((vali & param) === vali) {
v -= vali;
}
if (v === 0) return null;
}
}
}
e = Error.argumentOutOfRange(paramName, param, String.format(Sys.Res.enumInvalidValue, param, expectedType.getName()));
e.popStackFrame();
return e;
}
if (expectedDomElement && (!Sys._isDomElement(param) || (param.nodeType === 3))) {
e = Error.argument(paramName, Sys.Res.argumentDomElement);
e.popStackFrame()
没有合适的资源?快使用搜索试试~ 我知道了~
MVC3+RAZOR+AJAX+JQ实例
共72个文件
cshtml:23个
png:14个
js:9个
4星 · 超过85%的资源 需积分: 10 131 下载量 72 浏览量
2011-08-21
22:22:46
上传
评论
收藏 810KB RAR 举报
温馨提示
MVC3+RAZOR+AJAX+JQ实例MVC3+RAZOR+AJAX+JQ实例MVC3+RAZOR+AJAX+JQ实例MVC3+RAZOR+AJAX+JQ实例MVC3+RAZOR+AJAX+JQ实例(Q群号:152088818 本群只为有经验的.NET开发者开放提供一个技术交流平)
资源推荐
资源详情
资源评论
收起资源包目录
MVC3+RAZOR+AJAX+JQ实例.rar (72个子文件)
Global.asax.cs 2KB
SamplesMvc3.0.csproj.user 1KB
Web.Debug.config 1KB
Scripts
jquery.unobtrusive-ajax.min.js 3KB
jquery.unobtrusive-ajax.js 6KB
jquery-1.5.1.min.js 99KB
jquery.blockUI.js 15KB
MicrosoftMvcAjax.debug.js 15KB
MicrosoftAjax.js 99KB
MicrosoftMvcAjax.js 6KB
jquery-1.5.1-vsdoc.js 247KB
MicrosoftAjax.debug.js 309KB
Global.asax 105B
bin
MvcPager.dll 36KB
MvcPager.pdb 46KB
SampleMvc3.0.pdb 46KB
SampleMvc3.0.dll 27KB
Web.config 4KB
Properties
AssemblyInfo.cs 1KB
App_Data
NORTHWND_log.ldf 1024KB
NORTHWND.MDF 2.75MB
Views
Web.config 3KB
_ViewStart.cshtml 55B
Home
Index.cshtml 1KB
Shared
Error.cshtml 210B
_Layout.cshtml 3KB
Orders
UCOrderList.cshtml 777B
Loading.cshtml 1KB
JqAjaxOrders.cshtml 473B
UCJqOrderList.cshtml 770B
MyModel.cshtml 983B
MsAjaxOrders.cshtml 583B
Index.cshtml 498B
AjaxEvents.cshtml 918B
MyList.cshtml 669B
CustomRoutePaging.cshtml 2KB
UrlParameters.cshtml 681B
UCPageIndexBox.cshtml 1KB
StoredProcedure.cshtml 716B
PageIndexBox.cshtml 874B
CustomInfo.cshtml 861B
MultiplePagers.cshtml 2KB
ApplyStyles.cshtml 1KB
UCAjaxEvents.cshtml 1KB
UCLoading.cshtml 1KB
Web.Release.config 1KB
Images
play.png 580B
loading.gif 2KB
Thumbs.db 4KB
Content
themes
base
jquery-ui.css 38KB
images
ui-icons_cd0a0a_256x240.png 4KB
ui-bg_highlight-soft_75_cccccc_1x100.png 101B
ui-bg_glass_75_dadada_1x400.png 111B
ui-bg_glass_55_fbf9ee_1x400.png 120B
ui-icons_454545_256x240.png 4KB
ui-icons_222222_256x240.png 4KB
ui-icons_888888_256x240.png 4KB
ui-bg_flat_75_ffffff_40x100.png 178B
ui-bg_glass_75_e6e6e6_1x400.png 110B
ui-bg_flat_0_aaaaaa_40x100.png 180B
ui-bg_glass_95_fef1ec_1x400.png 119B
ui-icons_2e83ff_256x240.png 4KB
ui-bg_glass_65_ffffff_1x400.png 105B
Site.css 5KB
SamplesMvc3.0.csproj 9KB
Models
MyModel.cs 428B
Orders.edmx 7KB
MyOrdersModel.cs 517B
Orders.Designer.cs 18KB
MyList.cs 651B
Controllers
OrdersController.cs 7KB
HomeController.cs 228B
共 72 条
- 1
深黑色的猫
- 粉丝: 36
- 资源: 54
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- pta题库答案c语言之排序4统计工龄.zip
- pta题库答案c语言之树结构7堆中的路径.zip
- pta题库答案c语言之树结构3TreeTraversalsAgain.zip
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
- 以下是一个简化的示例,它使用pygame库来模拟烟花动画的框架.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页