User288213138 posted
Hi mcp111,
mcp111
When there is no data in the grid also I want to show the footer row with add button
So I've put all the controls that I use in footer template into EmptyDataTemplate also but the textboxes are not aligning with the header columns
According to your description, i can't reproduce your question. please show me your code.
mcp111
ItemTemplate or EditItemTemplate
The ItemTemplate is get or set the template for displaying an item in a data-bound control.
The EditItemTemplate is get or set the template for displaying an item
in edit mode in a TemplateField object.
More information about EditItemTemplate and ItemTemplate you can refer to below links:
https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.templatefield.edititemtemplate?view=netframework-4.8
https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.templatefield.itemtemplate?view=netframework-4.8
Best regards,
Sam