How can I use the button tag with ASP.NET?

前端 未结 7 1482
天命终不由人
天命终不由人 2020-11-28 03:33

I\'d like to use the newer

7条回答
  •  -上瘾入骨i
    2020-11-28 04:06

    Although you say that using the [button runat="server"] is not a good enough solution it is important to mention it - a lot of .NET programmers are afraid of using the "native" HTML tags...

    Use:

    
    

    This usually works perfectly fine and everybody is happy in my team.

提交回复
热议问题