上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
  2013年3月8日
摘要: 前台代码:注意ScriptManager,和UpdatePanel是配套使用的。在ContentTemplate中写局部刷新内容 <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> ... 阅读全文
posted @ 2013-03-08 16:27 张扬个性,敢为天下先 阅读(4289) 评论(0) 推荐(0) 编辑
  2013年1月28日
摘要: 解决方法:在IIS中网站管理->高级设置->应用程序池 将DefaultAppPool修改为ASP.NET v4.0. 如下图所示: 阅读全文
posted @ 2013-01-28 14:12 张扬个性,敢为天下先 阅读(4724) 评论(0) 推荐(1) 编辑
  2012年12月28日
摘要: 当属性设置float(浮动)时,其所在的物理位置已经脱离文档流了,但是大多时候我们希望文档流能识别float(浮动),或者是希望float(浮动)后面的元素不被float(浮动)所影响,这个时候我们就需要用clear:both;来清除。程序代码:<p style="float:left;width:200px;">这个是第1列,</p><p style="float:left;width:400px;">这个是第2列,</p><p>这个是第3列。</p>如果不用清除浮动,那么第3列文 阅读全文
posted @ 2012-12-28 10:12 张扬个性,敢为天下先 阅读(881) 评论(1) 推荐(0) 编辑
  2012年11月27日
摘要: if( $("#"+id+"").find("ul").size()<=0) 阅读全文
posted @ 2012-11-27 18:14 张扬个性,敢为天下先 阅读(309) 评论(3) 推荐(0) 编辑
  2012年11月26日
摘要: .box { min-height:500px; height:auto !important; height:500px;} 阅读全文
posted @ 2012-11-26 13:40 张扬个性,敢为天下先 阅读(256) 评论(1) 推荐(0) 编辑
  2012年7月26日
摘要: MVC用filter做权限过滤: 1:创建filter类;类需要继承一个接口,并且重写4个方法;如下:namespace MvcApplication1.Code{ public class paramFilter:System.Web.Mvc.ActionFilterAttribute { pub 阅读全文
posted @ 2012-07-26 15:11 张扬个性,敢为天下先 阅读(2885) 评论(2) 推荐(2) 编辑
摘要: 前台代码<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script src="/scripts/Ztree/script/jquery-1.4.2.js" type="text/javascript"></script> <link href="/scripts/Ztree/style/zTreeStyle/zT 阅读全文
posted @ 2012-07-26 11:22 张扬个性,敢为天下先 阅读(6903) 评论(0) 推荐(1) 编辑
  2012年7月24日
摘要: 一 Html.ActionLink("linkText","actionName") 该重载的第一个参数是该链接要显示的文字,第二个参数是对应的控制器的方法,默认控制器为当前页面的控制器,如果当前页面的控制器为Products,则 Html.ActionLink("detail","Detail") 阅读全文
posted @ 2012-07-24 15:00 张扬个性,敢为天下先 阅读(412) 评论(1) 推荐(0) 编辑
摘要: //Controller public ActionResult Index() { ViewData["Message"] = "欢迎使用 ASP.NET MVC!"; List list= new List(); list.Add("test1"); list.... 阅读全文
posted @ 2012-07-24 14:43 张扬个性,敢为天下先 阅读(6922) 评论(0) 推荐(1) 编辑
  2012年6月12日
摘要: 1.曲线图 var chart; $(document).ready(function () {line()});function line() { var options = { chart: { renderTo: 'container', //放置图表的容器 plotBackgroundColor: null, plotBorderWidth: ... 阅读全文
posted @ 2012-06-12 16:37 张扬个性,敢为天下先 阅读(2330) 评论(0) 推荐(1) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页