随笔分类 -  asp.net ajax

asp.net 智能收索
摘要:<script type="text/javascript"> function selectHide() { //获取表对象 document.getElementById("select").style.display = "block"; document.getElementById("comment").style.display = 'none'; document.getElementById("input").value = "0" 阅读全文

posted @ 2011-03-24 11:26 xumeng 阅读(185) 评论(0) 推荐(0)

asp.net UpdatePanel实现局部刷新
摘要:UpdatePanel有一个属性:ChildrenAsTriggers,ChildrenAsTriggers属性有两个可选值,一个是false,一个是true。如果设为false,则说明此UpdatePanel不进行自动更新。但可以手动更新,如果设置为true,则这个UpdatePanel自动更新。与Timer连用,定义Timer1_Tick事件,Timer1_Tick事件中可自定义要刷新的内容,可以包括函数和事件。Interval="60000"自动刷新的时间间隔。客户端:<asp:ScriptManager ID="ScriptManager1" 阅读全文

posted @ 2011-03-07 10:12 xumeng 阅读(3320) 评论(8) 推荐(0)

导航