![ContractedBlock.gif](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![ExpandedBlockStart.gif](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
<Listeners>
<Click Handler="#{DataTempGridPanel}.save();" />
</Listeners>
<AjaxEvents>
<Click OnEvent="btnImport2DB_Click">
</Click>
</AjaxEvents>
代码表面上将会先执行客户端Listeners中的脚本,然后调用AJAX方法, 不过经过测试,实际上将会先执行AJAX方法,最后执行Listener中的脚本
原文:http://www.cnblogs.com/DNNCenter/archive/2009/10/30/1592825.html