摘要: function onDetail(contextKey) { document.getElementById('').style.display = 'inline'; var behavior = $find(""); if (behavior) { behavior.populate(co... 阅读全文
posted @ 2014-07-04 18:30 BB林业 阅读(148) 评论(0) 推荐(0) 编辑
摘要: .如果调用Response.Write()方法的服务器控件在使用UpdatePanel的页面,则只需要在UpdatePanel下增加一个节点,通过PostBackTrigger注册一下改控件就可以了。代码如下: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 2.但是,如果是在母版页中使用UpdatePanel,则不能通过以上方法来解决,否则或出现类似以下错误: A control with ID 'btnExport' could not be found for the trigger in Upd... 阅读全文
posted @ 2014-01-17 23:04 BB林业 阅读(214) 评论(0) 推荐(0) 编辑
摘要: //在GV1_DataBound事件中加上: protected void GV1_DataBound(object sender, EventArgs e) { try {for (int j = 0; j " + GV1.Rows[j].Cells[i].Text + ""; } } }catch{}} 阅读全文
posted @ 2014-01-12 12:22 BB林业 阅读(223) 评论(0) 推荐(0) 编辑
摘要: LinkButton button = (LinkButton)sender;GridViewRow gvr = button.NamingContainer as GridViewRow;int ri=gvr.RowIndex; 阅读全文
posted @ 2013-12-28 18:55 BB林业 阅读(150) 评论(0) 推荐(0) 编辑