Daily Archives: December 30, 2006

国际合作重点项目

前两天跑去bj汇报国际合作重点项目结题,评审的是中科院合作局领导和各专业处的处长或代表。由于专业相差太大,我怀疑比如生物领域的处长们有能力来评审资环领域的成果。好在诸位处长也都没有提问题。估计其中一位有水文背景,但可能已经比较长时间离开科研第一线,很难深刻了解水文建模目前真正的发展动态。又不好明确反驳,毕竟要给这些当官的一些面子。我在回答时说,“其实照我的理解,水文建模现在按两个方向发展,第一个如刚才这位老师所说,将一个模型做深做好;另一个发展方向却是走模型集成,将不同的模型耦合到一起,起到模型互补的作用。澳洲CRC、英国近些年启动了大项目,也反应了这种趋势。”这种情况很难处理,已经尽量克制了,但明知不对唯唯诺诺也会被人看不起,但是否让人下不了台我也管不了太多。回兰飞机晚了1个半小时,说是飞机机械故障,我本来就是胆小的人,就怕掉飞机,回来感觉自己象捡了一条命。

datalist itemcommand doesn’t fire的问题

asp.net datalist如果在 page_load里加载 databind(),asp:button的itemCommand event doesn’t fire。 Scott have done great work to solve this problem. Thanks. For detailed information and underlying cause, please visit his blog entry at: http://scottonwriting.net/sowblog/posts/1268.aspx
 
Soution:
1) disable the viewstate (set to false) of list objects (datalist, repeater, datagrid, etc)
or 2) don’t put databind() in page_load when posting back which will reset page’s all children controls in turn causing itemCommand not firing.
 
for our matter met, the first solution is ok.