DavidJGu's Blog

       尼采说,宁可追求虚无也不能无所追求!  Keeping is harder than winning
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2004年11月11日

摘要: 在窗口A中打开另一个窗口B,同时关闭窗口A。往往此时会弹出确认对话框。 而有时我们的目的确实以窗口A为桥梁,真正要显示的是窗口B,因为在js的open或showModalDialog或showModelessDialog方法可以方便的设置打开窗口的页面属性。此时可以这样实现, window.open("...","","..."); window.opener = null; window.clo... 阅读全文

posted @ 2004-11-11 12:35 Let's DotNet 阅读(413) 评论(0) 推荐(0) 编辑

2004年9月17日

摘要: 我们在调试aspx文件时,经常有时想转到自己想要的一个页面看看,此时若Session过期重新登陆时要重输url或者要在菜单里寻找。往往我们只关系某几个模块。文件浏览或许可以发挥一些作用。 Steve Sharrock在http://aspalliance.com/发表了[TreeView - Programming an Explorer-style Site View]一文(http://asp... 阅读全文

posted @ 2004-09-17 19:54 Let's DotNet 阅读(1466) 评论(2) 推荐(0) 编辑

2004年9月8日

摘要: publicstaticstringGetCheckedNodesofTree(Infragistics.WebUI.UltraWebNavigator.UltraWebTreeobjUltraTree) { stringstrTagsSet=""; intiCount=objUlt... 阅读全文

posted @ 2004-09-08 16:03 Let's DotNet 阅读(460) 评论(0) 推荐(0) 编辑

摘要: publicstaticvoidSetsubNodesChecked(refInfragistics.WebUI.UltraWebNavigator.NodeobjNode,boolchkState) { intiCount=objNode.Nodes.Count; if(iCoun... 阅读全文

posted @ 2004-09-08 16:02 Let's DotNet 阅读(394) 评论(0) 推荐(0) 编辑

2004年8月31日

摘要: Tree View的生成基本上有三种方式: 1. 界面设计时在Tree View设计器或者代码中直接填充Tree View控件。 这种方式通过拖放控件的方式生成树,应用范围窄,是一种非编程方式; 2. 从XML文件中建立树形结构。 这种方式通过XML文件(串)生成树,从形式上来说,这种方式是比较直观的。因为XML本身就是一棵“树”,在.NET 平台下Tre... 阅读全文

posted @ 2004-08-31 10:43 Let's DotNet 阅读(623) 评论(0) 推荐(0) 编辑

2004年8月30日

摘要: //================Example:=====================// //give-------"2.12,2.12,3.12-3.5,4.12,4.22-6.33,4.12,12-3.5"; // //return-----"2.12,3.12-3.5,4.12,4.22-6.33,12-3.5";// private ... 阅读全文

posted @ 2004-08-30 09:48 Let's DotNet 阅读(490) 评论(0) 推荐(0) 编辑

2004年8月27日

摘要: RegisterClientScriptBlock is for returning blocks of client-side script containing functions. RegisterStartupScript is for returning blocks of client-script not packaged in functions-in other words, ... 阅读全文

posted @ 2004-08-27 15:07 Let's DotNet 阅读(423) 评论(0) 推荐(0) 编辑

2004年8月24日

摘要: 增加了CheckBoxList,CheckBoxList与ListBox之间的数据传递 usingSystem; usingSystem.Web.UI.WebControls; namespacePowerSelect { /**//// ///PowerSelect的摘要说明:用于两个控件间的数据选择传递;目前只做到ListBox,CheckBoxList... 阅读全文

posted @ 2004-08-24 13:31 Let's DotNet 阅读(733) 评论(0) 推荐(0) 编辑

2004年8月23日

摘要: using System; using System.Web.UI.WebControls; namespace PowerSelect { /// /// PowerSelect 的摘要说明:用于两个控件间的数据选择传递;目前只做到ListBox;以后根据需要会扩展。2004.8.23 /// public class PowerSelect { //源控件 object... 阅读全文

posted @ 2004-08-23 20:48 Let's DotNet 阅读(889) 评论(1) 推荐(0) 编辑

2004年8月19日

摘要: while use union sql, it should be noted that “order by” can't be used in the last sub query sentence. 阅读全文

posted @ 2004-08-19 19:52 Let's DotNet 阅读(593) 评论(1) 推荐(0) 编辑