在前台写控件:
<asp:Button ID="btnAdd" runat="server" Text="添加明细(A)..." OnClick="btnAdd_Click" />
在后台中写方法:
protected void btnAdd_Click(object sender, EventArgs e) { this.GetList(); }
在JS中写方法调用:
__doPostBack('btnAdd','');
posted on 2011-03-08 17:51 nick轩 阅读(271) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 nick轩 Powered by .NET 9.0 on Kubernetes