button的后台点击事件

在html元素加上runat,type就可以使用onserverclick创建后台事件<button runat='server' onserverclick='Btn_Click' type='button'></button>

后续出现的问题

html控件button的onclick和onserverclick事件不能同时起作用问题

 

 
posted @ 2019-01-10 10:43  kuangx  阅读(1009)  评论(0编辑  收藏  举报