G
Guest
Hi,
My GridView is bound to a DataTable and the GridView properties are set
as follows:
AutoGenerateColumns="true"
AutoGenerateEditButton="true"
AutoGenerateDeleteButton="true"
The Edit and Detete button are displayed but when the Edit button is
clicked, the Update/Cancel buttons are not displayed. Does anyone have any
ideas? The full GridView properties are below.
Thank you,
Scott
<asp:GridView ID="GenericTableMaintenanceGridView"
AutoGenerateColumns="true"
AutoGenerateEditButton="true"
AutoGenerateDeleteButton="true"
AutoGenerateSelectButton="false"
CellPadding="5"
CellSpacing="5"
runat="server">
<FooterStyle BackColor="#FFFFFF" ForeColor="#FFFFFF" />
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Wrap="false" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C"
HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<AlternatingRowStyle BackColor="#F7F7F7" />
</asp:GridView>
My GridView is bound to a DataTable and the GridView properties are set
as follows:
AutoGenerateColumns="true"
AutoGenerateEditButton="true"
AutoGenerateDeleteButton="true"
The Edit and Detete button are displayed but when the Edit button is
clicked, the Update/Cancel buttons are not displayed. Does anyone have any
ideas? The full GridView properties are below.
Thank you,
Scott
<asp:GridView ID="GenericTableMaintenanceGridView"
AutoGenerateColumns="true"
AutoGenerateEditButton="true"
AutoGenerateDeleteButton="true"
AutoGenerateSelectButton="false"
CellPadding="5"
CellSpacing="5"
runat="server">
<FooterStyle BackColor="#FFFFFF" ForeColor="#FFFFFF" />
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Wrap="false" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C"
HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<AlternatingRowStyle BackColor="#F7F7F7" />
</asp:GridView>