随笔分类 -  005 - MasterPage

摘要:Once you have your design converted into HTML/CSS, why should you have to worry about breaking it every time you create a new page? Abstract yourself from this with MasterPages, while still enabling y... 阅读全文
posted @ 2010-03-24 14:47 海洋——海纳百川,有容乃大. 阅读(285) 评论(0) 推荐(0) 编辑
摘要:Both master pages and content pages can contain event handlers for controls. For controls, events are handled locally—a control in a content page raises an event in the content page, and a contr... 阅读全文
posted @ 2009-09-21 13:24 海洋——海纳百川,有容乃大. 阅读(308) 评论(2) 推荐(0) 编辑
摘要:考试,考试,还是考试!无聊透顶的考试!但是不考又不行的考试!为了那一张薄薄的纸!我又白白浪费的3年宝贵的时间!强烈建议教育改革!最近我快被考试折磨的不行了!多次想过来写一篇,可是一想到考试,整个心情都没有了!不抱怨了,奉献点真东西给观众。 阅读全文
posted @ 2009-02-24 13:06 海洋——海纳百川,有容乃大. 阅读(2041) 评论(29) 推荐(0) 编辑
摘要:最近比较忙,工作几乎无法喘息,突然闲置了一会,想想也好久没有发博客了,得写几篇了,最近好像灵感突然消失了,不管了,先发一篇吧,这篇肯定对大伙要帮助,好的话,您给我顶一个,不好,你也不要保留,直接告诉我,相互切磋才能进步嘛!不说了,上博客! 阅读全文
posted @ 2009-02-18 16:10 海洋——海纳百川,有容乃大. 阅读(2702) 评论(14) 推荐(0) 编辑
摘要:由于最近比较忙,所以不能经常写博客了,先总结 11 条共大伙参考,等下周有时间,再补充补充,目前就暂且叫它【MasterPage FAQ 系列一】吧 1. If set the EnableViewState property on the content page to true but set the same property to false in the master page, which will be effective? MasterPage. Because setting on the master page will take priority. 2. Can apply an ASP.NET theme to a master page directly? No. If add a theme attribute to 阅读全文
posted @ 2009-02-11 02:03 海洋——海纳百川,有容乃大. 阅读(1389) 评论(9) 推荐(0) 编辑
摘要: this.Master.Page.Header.Title = "aa"; this.Page.Title = "bb"; 阅读全文
posted @ 2009-02-10 22:49 海洋——海纳百川,有容乃大. 阅读(2488) 评论(0) 推荐(0) 编辑
摘要:最近我在做站点的时候,遇到一个小问题,如何使当前选中的页面激活项和页面对应,然后就简单的写了一个小小的示例,废话少说,直接看demo: 阅读全文
posted @ 2009-02-05 09:39 海洋——海纳百川,有容乃大. 阅读(1962) 评论(22) 推荐(0) 编辑
摘要:I can post the code here, but that will render the working more difficult here. For the convenience of the everyone, I upload the code here for downloading. Please click the following pictrue to download the code. 阅读全文
posted @ 2009-01-22 16:40 海洋——海纳百川,有容乃大. 阅读(174) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示