摘要: 看了有些样例,自己也需要,就百度,谷歌看了其他一些前辈的文章,然后写了一个:点击…后执行JS中的LookUp()方法。JS使用:{ field: 'ImgUrl', title: '图标', width: 100, sortable: true, formatter: function (value, row, index) { return Utils.FormatString('', value, value); }, editor: { /... 阅读全文
posted @ 2013-10-06 21:58 悦峯 阅读(643) 评论(0) 推荐(0) 编辑
摘要: publicclassDDL:DropDownListpublicDDL(){if(!this.DesignMode) DataBind();}publicoverridevoidDataBind(){if(List<ML_DDL>!=null){Items.Clear();foreach(ML_DDLiteminList<ML_DDL>){ListItemtemp=newListItem(item.Name,item.Code);Items.Add(temp);}}}当对DDL的下拉项进行编辑的时候(ListItem集合编辑器)、或设置AutoPostBack的值为t 阅读全文
posted @ 2012-07-29 18:34 悦峯 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 错误: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.解决办法:只要将:<asp:ScriptManager ID="ScriptManager1" runat="server& 阅读全文
posted @ 2011-03-09 09:57 悦峯 阅读(792) 评论(0) 推荐(0) 编辑
摘要: 学习和使用AJAX之前,先要安装一个名叫“ASPAJAXExtSetup.msi”的数据包,之后再下载一个“AjaxControlToolkit-Framework3.5.zip”(最终是使用它里面的...\AjaxControlToolkit-Framework3.5\SampleWebSite\Bin文件下的“AjaxControlT... 阅读全文
posted @ 2009-06-07 00:39 悦峯 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 每次都是刻骨铭心的记忆,我又一次被打败了,还好我能自理...好久没来这些东西了,虽然一直在学习...今年已经快过半,呵...随着一些时间的流逝,以及一些关于.NET的发展,再加上...很惨了,就不往下说了!最近我为了学WPF & Silverlight,想换系统了...最近热的OS有WIN7,装了2次,一次被黑了,用了个什么补丁,补成盗版了,一次不小心格错了,郁闷,现在机子上装的是盗版那个... 阅读全文
posted @ 2009-05-10 11:41 悦峯 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 今天去帮助他人恢复WORD文档(出现了乱码),啊,我什么方法都用过来了,就是恢复不了,郁闷ing... 总结如下: 1. 病毒感染... 2. 闪存质量问题...(因为我见到客户的闪存,牌子不是很好。) 3. 存盘时没注意,直接存在闪存上,并且直接拔掉,没有进行"安全删除硬件"的步骤。(这条最符合今天的情况!) 如果您排除了上面的几种情况,可... 阅读全文
posted @ 2008-05-15 16:58 悦峯 阅读(2605) 评论(0) 推荐(0) 编辑
摘要: 实现部分 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections.Generic; 3using System.Text; 4 5namespace CA_H... 阅读全文
posted @ 2008-05-14 22:42 悦峯 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 实现部分 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections.Generic; 3using System.Text; 4 5namespace CA_H... 阅读全文
posted @ 2008-05-13 20:47 悦峯 阅读(572) 评论(0) 推荐(1) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 public partial class Form1 : Form 2 { 3 public Form1() 4 { 5 ... 阅读全文
posted @ 2008-05-04 21:55 悦峯 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 为完成《Windows Forms编程实战》第175页的“尝试一下”,特制ContextMenuStrip,有BUG请指评,谢谢! 使用: 可直接new一个,在参数中填TextBox类实例即可。 Code在此 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.... 阅读全文
posted @ 2008-04-10 20:40 悦峯 阅读(351) 评论(0) 推荐(0) 编辑