2010年8月17日

Asp.net 后台调用js方法(转)

摘要: 1. 用Response.Write方法 代码如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Response.Write("");此方法缺陷就是不能调用脚本文件中的自定义的函数,只能调用内部函数,具体调用自定义的函数只能在Response.Write写上函数定 义,比如Code highlighting produced by Actipro CodeHighlighter (freeware)http://www 阅读全文

posted @ 2010-08-17 10:13 学中医的程序员 阅读(98) 评论(0) 推荐(0) 编辑

js控制Gridview中的checkbox全选(转)

摘要: js代码部分function SelectAll(chkbox) { var theBox=chkbox; xState=theBox.checked; elem=theBox.form.elements; for(i=0;i ' /> 获取选中的checkbox的值 string str = ""; for (int i = 0; i < this.GridViewUser.Rows.Count; i++) { HtmlInputCheckBox chk = (HtmlInputCheckBox)this.GridViewUser.Rows[i].Fi 阅读全文

posted @ 2010-08-17 09:40 学中医的程序员 阅读(104) 评论(0) 推荐(0) 编辑

导航