悟生慧

 

2011年4月13日

GridView中点击删除弹出JS提示信息

摘要: 方法一:protected void gvData_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { LinkButton lbtnDelete = (LinkButton)e.Row.FindControl("ibtnDelete"); lbtnDelete.Attributes.Add("onclick", "return confirm('确认要删除此门店信息吗?' 阅读全文

posted @ 2011-04-13 15:06 悟生慧 阅读(681) 评论(0) 推荐(0)

js 调用C#.NET后台方法 转载自:http://www.cnblogs.com/lizhao/archive/2010/11/23/1990436.html

摘要: 第一种:<script type="text/javascript">$(document).ready(function() {sshow();});function sshow(){ var s = '<%=IsShow() %>'; if(s == '0') { document.getElementById("trr").style.display= "none"; }else { document.getElementById("trr").styl 阅读全文

posted @ 2011-04-13 14:31 悟生慧 阅读(597) 评论(0) 推荐(0)

导航