随笔分类 -  控件相关

介绍自己写的或自己使用过的一些不错的控件。
摘要:让我们看下3.0新增的查询:Simple Select with string columns int records = new Select("productID"). From("Products").GetRecordCount(); Assert.IsTrue(records == 77);Simple Select with typed columns int records = new Select(Product.ProductIDColumn, Product.Product... 阅读全文
posted @ 2012-02-09 12:36 Jolly-zhang 阅读(488) 评论(0) 推荐(0)
摘要:因为最近在做项目的时候,需要用到多选下拉框,所以自己写了一个,效果见下(支持热键):源码下载:/Files/wliang22/多选下拉框.rar如果发现bug请告知我,谢谢! 阅读全文
posted @ 2009-11-17 15:52 Jolly-zhang 阅读(3078) 评论(8) 推荐(0)
摘要:从昨天可能用StyleCop for ReSharper这个插件合并ReSharpt4.5 beta 和 StyleCop.这篇post给你一些这三个工作的信息,我使用它们在Visual Studio 2008中业务解决方案中编码,能写出既快速又可维护的源代码. ReSharper 4.5 ReSharper是个VisualStudio的高效插件.它提供了解决方案中高亮显示错误,高级代码完成,出色... 阅读全文
posted @ 2009-04-22 09:33 Jolly-zhang 阅读(1176) 评论(0) 推荐(0)
摘要:FireFox文本自动换行处理,如何实现FireFox文本自动换行文本自动换行IE中解决方法:[代码]注:在要换行的内容相应的单元格或者DIV里加入,如:[代码]文本自动换行FireFox中解决方法(脚本):[代码]注:以上脚本放在</head>前面.调用时如下写法:同个页面单处调用:<div id="content">这里是要应用换行的内容</div><... 阅读全文
posted @ 2008-10-16 18:10 Jolly-zhang 阅读(1326) 评论(2) 推荐(0)
摘要:非常感谢 Brettle 的开源支持.net 1.1 .NET 2.0这里是 live demo很不容易发现的,在.net下面要找个开源的东西真是难也。当然大文件上传有很多组件比如ABCUPLOAD SlickUpload不过都不是开源都是商业代码带来的就是N多的$,所以。。。安装办法下载地址:http://www.brettle.com/neatupload#Download1.在工具箱中添加B... 阅读全文
posted @ 2008-09-08 16:53 Jolly-zhang 阅读(756) 评论(0) 推荐(0)
摘要:在使用ComponentArt 的Callback控件,经常会遇到“The Data could not loaded”的问题,这其实是编码引起的。有两种方法可以避免此问题。1、在web.config中设置<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>但是这样的更改可能导致其他页... 阅读全文
posted @ 2008-09-08 10:04 Jolly-zhang 阅读(787) 评论(0) 推荐(0)
摘要:出错情况 页面放Anthem.FileUpload,TextArea(Anthem.TextBox),Anthem.Button.用户先选择了一个文件(没有选择文件不存在后面的问题),然后再点击Button时,在点击事件里改变TextArea的Text值并设置UpdateAfterCallBack为true.callback失败,提示BADRESPONSE. 前台: <anthem:File... 阅读全文
posted @ 2008-07-15 17:39 Jolly-zhang 阅读(586) 评论(0) 推荐(0)
摘要:主要实现机制:重写CreateChildControls方法.示例文件示例下载:/Files/wliang22/attributes.zip 阅读全文
posted @ 2008-05-16 16:41 Jolly-zhang 阅读(184) 评论(0) 推荐(0)
摘要:Introduction to the problem'Where is the problem? Haven't you heard about GroupName property?' - you can ask me. Of course, you are right! But...Let's take an ordinary DataGrid, add a TemplateColumn t... 阅读全文
posted @ 2008-05-16 16:01 Jolly-zhang 阅读(996) 评论(0) 推荐(0)