2007年7月25日
摘要: 非常简单,ASP.NET AJAX配置安装我就不多说了。 打开AJAX Extensions标签,拖入其中的SciptManager控件,选控件的Scripts属性,就出现"ScriptReference 集合编辑器",添加成员,Path属性设置JS文件路径,最后在你要用的控件OnClientItemClicked属性下,输入JS文件所定义的方法名即可。 具体代码:<ajaxToolkit:... 阅读全文
posted @ 2007-07-25 13:10 earlier 阅读(1001) 评论(0) 推荐(0) 编辑
  2007年7月23日
摘要: 可能你想讓用戶雙擊item就進入edit模式。這章就是告訴大家 如何使得雙擊row進入row的編輯模式,儅用戶點擊其他行的時候更新row,而且彈出一個confirm框。下面的例子使用了RadGrid.AjaxRequest() , OnRowClick , onrowdblclick 和grid裏面inputs的onchange事件[ASPX]<scripttype="text/javasc... 阅读全文
posted @ 2007-07-23 17:55 earlier 阅读(2283) 评论(0) 推荐(0) 编辑
  2007年7月19日
摘要: 数据岛指的是存在Html网页中的xml代码段,它在Html中形成了一个数据的集合,数据岛允许我们在Html网页中集成xml,对xml编写脚本。 阅读全文
posted @ 2007-07-19 09:59 earlier 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Ajax 由 HTML、JavaScript™ 技术、DHTML 和 DOM 组成,这一杰出的方法可以将笨拙的 Web 界面转化成交互性的Ajax 应用程序。本文的作者是一位 Ajax 专家,他演示了这些技术如何协同工作 —— 从总体概述到细节的讨论 —— 使高效的 Web 开发成为现实。他还揭开了 Ajax 核心概念的神秘面纱,包括 XMLHttpRequest 对象。 阅读全文
posted @ 2007-07-19 08:59 earlier 阅读(262) 评论(0) 推荐(0) 编辑
  2007年7月10日
摘要: usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.We... 阅读全文
posted @ 2007-07-10 15:18 earlier 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 具体实现聚合搜索功能。Search.aspx是本系统的主页面文件。它是一个框架,顶部是Top.htm页面,用于选择搜索引擎和执行查询;底部是一个由Handler生成的页面S.ashx,用于执行具体的查询任务。Search.xml存储了6大搜索引擎的相关信息,而result.xsl是搜索结果的格式化文件。 阅读全文
posted @ 2007-07-10 10:45 earlier 阅读(2189) 评论(1) 推荐(0) 编辑
  2007年7月8日
摘要: Highlighting GridView rows using onmouseover, onclick and using checkbox are all similar features. All are pretty simple to implement. The main problem rises when using the same technique on a GridView with alternate rows with different color. Let's check out how this can be done. 阅读全文
posted @ 2007-07-08 22:46 earlier 阅读(951) 评论(0) 推荐(0) 编辑
摘要: Sometime back I wrote a post about how to convert the whole GridView control into the edit mode with a single button click. You can check out the post here. One gentleman posted that how he can edit only the selected rows. This selection is based on selecting the Checkboxes which resides inside the GridView control. 阅读全文
posted @ 2007-07-08 22:45 earlier 阅读(908) 评论(1) 推荐(0) 编辑
  2007年7月7日
摘要: Ajax(Asynchronous JavaScript + XML)正在迅速地成为时髦的技术,它可以为在浏览器中运行的 Web 应用程序提供具有桌面质量的软件特性…… 阅读全文
posted @ 2007-07-07 20:22 earlier 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1.对应String类型的对象使用println()方法时,如果对象为null,将打印null而不是引发NullPointerException,由此引用的问题是容易造成错觉,对于以后对字符串的操作容易引起问题。  2.引发NullPointerException异常,主要原因是没有对对象的存在性进行验证,在jsp编程中经常出现:if (request.getParameter(“us... 阅读全文
posted @ 2007-07-07 19:29 earlier 阅读(411) 评论(0) 推荐(0) 编辑