增加的方法有:
registerXMLEntity
setSerializationLevel
serializeTree
saveSelectedItem
restoreSelectedItem
enableAutoSavingSelected
saveState
loadState
setCookie
getCookie
saveOpenStates
loadOpenStates
openAllItemsDynamic
moveItem
dhtmlXTree
Archive for 二月, 2010
asp.net页面设置不缓存
二 5
在.aspx页面中加入如下代码,放到head标记之间:
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<%Response.Cache.SetCacheability(HttpCacheability.NoCache); %>
目的:
第一行和第二行:request的时候设置Cache-Control为no-cache,至于为什么要写两种,因为要兼容HTTP/1.0和HTTP/1.1
第四行:response的时候设置Cache-Control为no-cache,否则的话,Cache-Control为private;
至于private、no-cache是什么意思?请继续看下去,或者见以下地址“Cache-control”常见的取值private、no-cache、max-age、must-revalidate及其用意
Read the rest of this entry »
在web.config的system.web节点中加入
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
</webServices>
使用“移除映射”选项可以修改工作区,但我的vs2008的团队资源管理器中却没有这个选项。在msdn中查了一下资料,地址为:http://msdn.microsoft.com/zh-cn/library/ms245466.aspx,得出如下结论:
1、没有打vs2008 sp1补丁
2、没有分配“管理工作区”权限
这两步OK的话,就能显示了,如图: Read the rest of this entry »
厚道做人,尊重小洋的劳动成果,只转链接
很早就知道西湖义工这个组织了,以前组织的一些活动,由于种种原因没能参加,过后心里总有一些自责,总是不断的问自己,早睡一点,早起一点去别助别人有这么难吗?
当看到周末去火车站送姜汤的活动后,我心里又一次起涟漪,并暗下决心,这个活动一定要参加,去亲身体验做义工的快乐。
心里面没有多少挣扎,没有一丝的迷惑,就直接睡了。早上起来后整装待发,吃了点早餐就上路了。 Read the rest of this entry »