<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_ASP.NET 魔法學院</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/31410/rss</id><updated>2008-11-15T10:31:24Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/31410/rss"/><entry><id>http://www.cnblogs.com/jeff377/archive/2008/11/15/1334233.html</id><title type="text">使用 Sandcastle Help File Builder 制作 VS.NET 的 HELP 文件</title><summary type="text">以前笔者都是使用 NDoc 在制作 VS.NET 的 HELP 文件，它是相当好用且速度快的 HELP 产生器；不过 NDoc 在 1.3.1 版后，NDoc 的作者 Kevin Downs 就不再进行 NDoc Open Soruce 的开发。笔者之前有自行修改 NDoc 的 Source Code 解决中文乱码的问题，不过后来又遇到泛型类别无法正常产生 HELP 文件的问题，所以就改用微软推出的 SandCastle 配合 Sandcastle Help File Builder 来产生 HELP 文件，本文将介绍使用 Sandcastle Help File Builder 制作 VS.NET 的 HELP 文件。 </summary><published>2008-11-15T10:30:00Z</published><updated>2008-11-15T10:30:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/11/15/1334233.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/11/15/1334233.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/11/06/1327757.html</id><title type="text">[ASP.NET 控件实作 Day31] TBContextMenu 控件三种不同模式的 Click 动作</title><summary type="text">上一篇 整合 jQuery ContextMenu plugin 的右键选单控件 的文章中，我们实作了 TBContextMenu 控件；本文将以 TBContextMenu 控件为例，为选单项目加入 Click 事件，并说明三种不同模式的 Click 动作。 </summary><published>2008-11-05T23:18:00Z</published><updated>2008-11-05T23:18:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/11/06/1327757.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/11/06/1327757.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/11/01/1324069.html</id><title type="text">[ASP.NET 控件实作 Day30] 整合 jQuery ContextMenu plugin 的右键选单控件</title><summary type="text">jQuery 是一个非常精简强大的 JavaScript 函式库，最近看到一个消息，未来微软的 ASP.NET 也会全面支持 jQuery，详见「 微软将在 ASP.NET 相关产品中全面支持 jQuery」一文。笔者在之前就被 jQuery 简短有力的程序语法所吸引，也把 jQuery 套用在服务器控件中，在本文将示范如何将 jQuery 的 ContextMenu plugin 封装成服务器控件，使开发人员在使用上更为简便。</summary><published>2008-10-31T16:24:00Z</published><updated>2008-10-31T16:24:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/11/01/1324069.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/11/01/1324069.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/30/1323312.html</id><title type="text">[ASP.NET 控件实作 Day29] 解决 DropDownList 成员 Value 值相同产生的问题</title><summary type="text">DropDownList 控制页的成员清单中，若有 ListItem 的 Value 值是相同的情形时，会造成 DropDownList 无法取得正确的 SelectedIndex 属性值、且无法正确引发 SelectedIndexChanged 事件的问题；今天刚好在网络上看到有人在询问此问题，所以本文将说明这个问题的源由，并修改 DropDownList 控件来解决这个问题。</summary><published>2008-10-30T13:40:00Z</published><updated>2008-10-30T13:40:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/30/1323312.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/30/1323312.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/29/1322471.html</id><title type="text">[ASP.NET 控件实作 Day28] 图形验证码控件</title><summary type="text">在网页上常把图形验证码应用在登入或贴文的页面中，因为图形验证码具有机器不易识别的特性，可以防止机器人程序恶意的存取网页。在本文中将实作一个图形验证码的服务器控件，透过简单的属性设定就可以轻易地在网页上套用图形验证码。 </summary><published>2008-10-29T13:09:00Z</published><updated>2008-10-29T13:09:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/29/1322471.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/29/1322471.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/28/1321652.html</id><title type="text">[ASP.NET 控件实作 Day27] 控件依 FormView CurrentMode 自行设定状态</title><summary type="text">在 GridView+FormView 示范数据 新增/修改/删除(进阶篇：服务器控件) 一文中，示范了扩展 GridView 及 FormView 控件，让 GridView 可以透过属性与 FormView 做关连来处理数据的「新增/修改/删除」的动作。因为在该案例中，只使用 FormView 的 EditTemplate 同时处理「新增」及「修改」的动作，所以还需要自行撰写部分程序代码去判断控件在新增或修改的启用状态，例如编号字段在新增时为启用，修改时就不启用。在该文最后也提及其实有辨法让这个案例达到零程序代码的目标，那就是让控件 (如 TextBox) 自行判断所在的 FormView 的 CurrentMode，自行决定本身是否要「启用/不启用」、「显示/隐藏」等状态。本文以 TextBox 为例，说明如何修改 TextBox 让它可以达到上述的需求。</summary><published>2008-10-28T13:29:00Z</published><updated>2008-10-28T13:29:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/28/1321652.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/28/1321652.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/28/1320882.html</id><title type="text">[ASP.NET 控件实作 Day26] 让你的 GridView 与众不同</title><summary type="text">在网络上可以找到相当多扩展 GridView 控件功能的文章，在笔者的部落格中也有多篇提及扩展 GridView、DataControlField、BoundFIeld 功能的相关文章，在本文将这些关于扩展 GridView 控件功能及字段类别的相关文章做一整理简介，若需要扩展 GridView 相关功能时可以做为参考。</summary><published>2008-10-27T16:48:00Z</published><updated>2008-10-27T16:48:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/28/1320882.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/28/1320882.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/26/1319893.html</id><title type="text">[ASP.NET 控件实作 Day25] 自订 GridView 字段 - 日期字段</title><summary type="text">前二篇文章介绍了自订 GridView 使用的下拉列表字段 (TBDropDownField)，对如何继承 BoundField 类别下来改写自订字段应该有进一步的了解。在 GridView 中输入日期也常蛮常见的需求，在本文将再实作一个 GridView 使用的日期字段，在字段储存格使用 TBDateEdit 控件来编辑数据。 </summary><published>2008-10-26T10:38:00Z</published><updated>2008-10-26T10:38:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/26/1319893.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/26/1319893.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/25/1319519.html</id><title type="text">[ASP.NET 控件实作 Day24] TBDropDownField 的 Items 属性的数据系结</title><summary type="text">上篇中我们实作了 GridView 的 TBDropDownField 字段类别，不过眼尖的读者不知有没有发觉我们并处理 Items 属性取得成员清单的动作，而是直接设定储存格内含的 TBDropDownList 控件相关属性 (DataSourceID、DataTextField、DataValueField 属性) 后，就由 TDropDownList 控件自行处理 Items 属性的数据系结。当 GridView 的资料列是编辑状态时，下拉列表会显示出 Items 的文字内容；可是浏览状态的数据列，却是显示字段原始值，无法呈现 Items 的文字内容。本文将说明如何自行处理 TBDropDownField 的 Items 属性的数据系结动作，并使只读状态的数据列也可以呈现 Items 的文字内容。 </summary><published>2008-10-25T10:38:00Z</published><updated>2008-10-25T10:38:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/25/1319519.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/25/1319519.html"/></entry><entry><id>http://www.cnblogs.com/jeff377/archive/2008/10/24/1318395.html</id><title type="text">[ASP.NET 控件实作 Day23] 自订 GridVie 字段类别 - 实作 TBDropDownField 字段类别</title><summary type="text">GridView 是 ASP.NET 中一个相当常用的控件，在 GridView 可加入 BoundField、CheckBoxField、CommandField、TemplateField ... 等不同型别的字段，可是偏偏没有提供在 GridView 中可呈现 DropDownList 的字段型别；遇到这类需求时，一般的作法都是使用 TemplateField  来处理。虽然 TemplateField 具有相当好的设计弹性。可是在当 GridView 需要动态产生字段的需求时，TemplateField 就相当麻烦，要写一堆程序代码自行去处理数据系结的动作。相互比较起来，BoundField、CheckBoxField ...等这类事先定义类型的字段，在 GridView 要动态产生这些字段就相当方便。如果我们可以把一些常用的 GridView 的字段，都做成类似 BoundField 一样，只要设定字段的属性就好，这样使用上就会方便许多，所以在本文将以实作 DropDownList 字段为例，让大家了解如何去自订 GridView 的字段类别。</summary><published>2008-10-23T17:01:00Z</published><updated>2008-10-23T17:01:00Z</updated><author><name>jeff377</name><uri>http://www.cnblogs.com/jeff377/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jeff377/archive/2008/10/24/1318395.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jeff377/archive/2008/10/24/1318395.html"/></entry></feed>
