gridview中按钮,无法激发rowcommand事件?
<asp:TemplateField HeaderText="操作" ShowHeader="False">
<ItemTemplate>
<asp:Button ID="BTN_EditItem" runat="server" CausesValidation="false" CommandName="EditItem" CommandArgument='<%#Eval("Mitems_id") %>'
Text="编辑"></asp:Button>
</ItemTemplate>
</asp:TemplateField>
添加了rowcommand事件,可调式时发现根本不激发。