我的按钮不会触发点击事件
<dx:ASPxButton ID="btnLancar" runat="server" Text="Lançar" AutoPostBack="true" />
Protected Sub btnLancar_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Handles btnLancar.Click
End Sub
答案 0 :(得分:1)
ASPxButton元素需要设置OnClick属性。
<dx:ASPxButton ID="btnLancar" runat="server" Text="Lançar" AutoPostBack="true" OnClick="btnLancar_Click" />