随笔分类 - asp.net
摘要:<ext:StoreID="Store1"runat="server"AutoSave="true"ShowWarningOnFailure="false"OnBeforeStoreChanged="HandleChanges"SkipIdForNewRecords="false"RefreshAfterSaving="None"><Reader><ext:JsonReaderIDProperty="Id"
阅读全文
摘要:
Ext.net V1.0前身叫Coolite V0.8以前我用Coolite做过一个小项目,效果很不错,现在www.coolite.com已经变成www.ext.net,正式发布 ext.net V1.0 新增了不少新功能,前台的JS也更容易操作,非常不错,完全可用于一些小项目的开发。
Ext.net官方网站的介绍是一个用于快速开发asp.net的富AJAX的web应用程序控件类库,底层使用的javascript类库是Ext.js(开源的商业类库),当然Ext.net也是开源,但如果用于商业开发,那还是要收费的。
Ext.net提供了差不多100个组件,非常丰富基本上可以满足绝大数的项目需求。特别是数据展示控件,GridPanel,FormPanel,Store,dataview,report,print;特别好用的IFrame实现是类似windowsform 的MDI字窗体。
阅读全文

摘要:最近一段时间比较闲,所以顺便尝试去了解一些新东西,虽然不做开发好多年,但最始终还是觉得做开发(coding)来的最轻松,也最拿手,做项目经理真的很烦,看来我还是不合适干项目经理。 前一段时间在Silverlight 2出来的时候我们公司就有个家伙用Siverlight做了个项目,吹嘘了一下说开发有多快,用户体验有多好,搞得公司里火了一段时间,后来又有项目组也开始用silverlight 开发产品,但很不顺利,效果很差,第一个项目组把项目做成功的原因是这哥们技术真的不错,肯专研,可惜后来离职了,而其他项目组菜鸟居多所以搞得进展很慢。做得也很辛苦。 后来我也研究一下Silverlight 2/3.
阅读全文
摘要:Asp.net AJAX性能优化测试Asp.net AJAX提高性能的原则(对web同样也适用):合并(Composite)-减少请求的次数压缩(Compression)-减少请求的数据缓存(Caching)-提高请求响应的效率所以在优化的过程中能合并的就合并,能压缩的就压缩,能缓存的尽量缓存。下面就用一个例子说明一下如何对一个asp.net 的页面进行优化,使它运行的效果最佳,当然这只是很低层面的做法,但很容易,很实用。适合初学者。下面是本次测试一个页面 使用了4个控件+了一些ajaxcontroltoolkit 页面代码如下 第一次最糟糕的没有任何优化的前提下 一共有23个请求,没有用到缓
阅读全文
摘要:OnClientClick return confirm() in ajax environment , event lose Confirm function on button. We are use OnClientClick="return confirm('Are you sure')" often. but that is no correct under Ajax. because ...
阅读全文
摘要:Silverlight与数据库的三种互操作 简介 本章节提供Silverlight与后台数据库的三种技术实现基本的互操作(Silverlinght Interoperability),构建一个Silverlight SOA的应用。 准备环境 Windows 2003/2008/vista Visual Studio.net 2008+sp1 Silverlight 3.0 SDK Silverli...
阅读全文
摘要:DotNetNuke初试水之开发和导入一个Module 了解DotNetNuke DotNetNuke(简称DNN)是一个免费、开源、可扩展、几近完美的内容管理系统。可广泛应用于商务网站、企业内网(Intranet)和外网网站、在线内容发布网站。Dotnetnuke是建立在微软ASP.NET平台之上的一套Web应用框架。Dotnetnuke是微软第一次向开源说"Yes"的里程碑。Dotnetnuk...
阅读全文
摘要:Coolite Toolkit介绍Coolite Toolkit 是一个支持ASP.NET AJAX的Web控件。 Coolite Toolkit是基于跨浏览器的ExtJS 库开发而来的,并且简化了开发步骤,并且包含有丰富的Ajax运用。 Coolite Toolkit和ExtJS 都是开源的。 可能通过SVN直接获取Coolite 的代码。 网络资源 ht...
阅读全文
摘要:页面彈出各种窗口詳解 一、 基本变化 参数解释: window.open 弹出新窗口的命令; 'page.html' 弹出窗口的文件名; 'newwindow' 弹出窗口的名字(不是文件名),非必须,可用空''代替; 100 窗口高度; width=400 窗口宽度; top=0 窗口距离屏幕上方的象素值; left=0 窗口距离屏幕左侧的象素值; toolbar=no ...
阅读全文
摘要:NHibernate Contrib Best Practice 介绍 NHibernate Contrib(Burrow)是一个轻量级的开发中间件,底层使用Nhibernate 2.0GA(Nhibernate 2.0的.hbm.xml和1.2是兼容的) ORM技术框架实现。Burrow提供了智能化的状态,会话,使管理,事务让你更方便的使用Nhibernate进行.net应用程序的开发。 ...
阅读全文
摘要:几种Code Value Web输入的解决方案 http://files.cnblogs.com/neozhu/AutocompletedSetKeyValue.rar 在实际应用系统开发过程中会经常遇到的情况是在做数据库设计的时候为了满足第二范式消除数据冗余和数据的一致性,就会存在类似单位,币值等基础代码的维护,通常情况基础代码库设计是Key Description这样的结构,对于业务实例会保...
阅读全文
摘要:Complete C# code: ---------------- using System; using System.ComponentModel; using System.Configuration; using System.Web.UI; using System.Web.UI.WebControls; namespace CustomGridView { /// /// Su...
阅读全文
摘要:In this article I will be discussing how you can use client side javascript to access values in specified row and column of GridView control without doing any post back. I have discussed in my previou...
阅读全文
摘要:In my previous post which was relating to implementing dialog box in web based application, I have provided some examples to popping up a dialog box using showModalDialog javascript function. In that ...
阅读全文
摘要:Introduction GridView is a new data bound control introduced by Microsoft in Visual Studio .NET 2005. Most of the operations like sorting, paging and selecting items from the GridView are already bui...
阅读全文
摘要:Introduction This article shows a modal popup dialog window which passes and returns multiple parameters. This sample creates parent and child webforms. The child webform is called modally by the par...
阅读全文
摘要:Pass Multiple Values from a GridView to Another Page using ASP.NET A common requirement in our projects is to select a GridView row and pass multiple values of the selected row to another page. I r...
阅读全文
摘要:Using ASP.NET and jQuery to Pass Multiple Values from a GridView to Another Page In one of our previous article Pass Multiple Values from a GridView to Another Page using ASP.NET, we had seen how t...
阅读全文
摘要:The paging of a large database resultset in Web applications is a well known problem. In short, you don't want all the results from your query to be displayed on a single Web page, so some sort of pag...
阅读全文
摘要:Asp.net Dynamic Data之四定义字段的显示/编辑模板和自定义验证逻辑 Asp.net Dynamic data提供了一些字段模板有比如在Detail View/ListView中显示用的和在Edit View/Insert View中使用的编辑字段,同时也可以自定义你所需要的字段模板。和特殊的显示格式。 比如:我们需要对日期类型的输出进行格式化{0:yyyy-mm-dd},...
阅读全文