摘要: 本文实现所有继承BaseModel的类都通过代理拦截using System;using System.Reflection;using System.Collections.Generic;using System.Runtime.Remoting.Proxies;using System.Run... 阅读全文
posted @ 2015-05-22 16:14 魏巍(QQ:68235081) 阅读(1601) 评论(0) 推荐(0) 编辑
摘要: 错误的写法:$(this).submit(function () { $(this).ajaxSubmit({ url: opts.url, type: 'post', ... 阅读全文
posted @ 2015-05-14 17:33 魏巍(QQ:68235081) 阅读(2307) 评论(0) 推荐(0) 编辑
摘要: @Html.TextBoxFor(m => m.Birthday,"{0:yyyy-MM-dd}", new { @class = "m-wrap small", @readonly = "true" }) 阅读全文
posted @ 2015-05-14 17:30 魏巍(QQ:68235081) 阅读(294) 评论(0) 推荐(0) 编辑
摘要: a { cursor: pointer; text-decoration: none; hide-focus: expression(this.hideFocus=true); outline: none;} a:link, a:visited, a:hover, a:... 阅读全文
posted @ 2015-04-30 13:12 魏巍(QQ:68235081) 阅读(143) 评论(0) 推荐(0) 编辑
摘要: .MsgPopup { height: 100px; line-height: 100px; text-align: center;} 阅读全文
posted @ 2015-04-22 15:00 魏巍(QQ:68235081) 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一、jQuery.Form.js 插件的作用是实现Ajax提交表单。 方法: 1.formSerilize() 用于序列化表单中的数据,并将其自动整理成适合AJAX异步请求的URL地址格式。 2.clearForm() 清除表单中所有输入值的内容。 3.restForm 重置表单... 阅读全文
posted @ 2015-04-22 14:42 魏巍(QQ:68235081) 阅读(547) 评论(0) 推荐(0) 编辑
摘要: /* * @功能描述:各种系统消息框 * @前置插件:JQueryUI * @开 发 者:魏巍 * @开发日期:2015-04-15 * @version 1.0 */var SF = {};SF.Msg = function () { var $msgbox, offTimer; va... 阅读全文
posted @ 2015-04-20 10:36 魏巍(QQ:68235081) 阅读(257) 评论(0) 推荐(0) 编辑
摘要: function (options, param) { alert(typeof options); if (typeof options == "string") { alert("字符串"); } if (typeof... 阅读全文
posted @ 2015-04-15 16:19 魏巍(QQ:68235081) 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 例如:下面代码有两个int类型的参数,如果Ajax调用时没有在data属性中为其赋值,AJAX会出500异常。public JsonResult GetList(int pageIndex, int pageSize) { int total = 0; ... 阅读全文
posted @ 2015-04-15 13:03 魏巍(QQ:68235081) 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1、MethodInfo类是在System.Reflection命名空间底下,既然是在Reflection空间底下。故名思议关于反射相关的操作,其中比较重要的方法是Invoke()方法,它是加载相同程序集的方法。简单用法 string command = "AnnouncementSa... 阅读全文
posted @ 2015-04-14 10:03 魏巍(QQ:68235081) 阅读(385) 评论(0) 推荐(0) 编辑