U
Utter Newbie
Anyone know what could be the problem? I gave the button in the footer
a command name but when the button is clicked the datagrid_itemcommand
event is never fired (tracing it in the debugger)? It is strange...
All buttons in the item list work and cause the event... Just not my
footer button... I added the button in the footer template of the
template column in question.
<FooterTemplate>
<asp:Button id="btnAddCategory" CommandName="Insert"
runat="server" CssClass="button" Text="Add Category"
CausesValidation="false"></asp:Button>
</FooterTemplate>
Any ideas? Thanks.
a command name but when the button is clicked the datagrid_itemcommand
event is never fired (tracing it in the debugger)? It is strange...
All buttons in the item list work and cause the event... Just not my
footer button... I added the button in the footer template of the
template column in question.
<FooterTemplate>
<asp:Button id="btnAddCategory" CommandName="Insert"
runat="server" CssClass="button" Text="Add Category"
CausesValidation="false"></asp:Button>
</FooterTemplate>
Any ideas? Thanks.