服务端控件调用JS
摘要:
1.关闭窗口,并提交表单。<asp:Button ID="Button1" OnClientClick="window.open('', '_parent', ''); window.close();" runat="server" Text="关闭当前窗口" />2.修改CSS属性方法一://page:<asp:Button ID="Button2" runat="server" Text="写入值 阅读全文
posted @ 2012-09-24 17:18 alex_lo 阅读(211) 评论(0) 推荐(0) 编辑