New row button not showing when no data present

zagertez

New Member
Aspx, Entity, on my gridView I made a footer for a new button. It shows when there are items, but not when data is empty. gridView's ShowFooter = True. Not sure why it won't show when empty, is there another property I maybe missing? I know a workaround could be place a dummy row in the database, but think there should be a better way to start off at 0. If you have any more questions, please ask.\[code\]<asp:TemplateField HeaderText="New" > <FooterTemplate > <asp:Button ID="btnNew" CssClass="DDButton" runat="server" Text="New" CommandName="New" OnClick="new_item" /> </FooterTemplate></asp:TemplateField>\[/code\]
 
Back
Top