Can I add the NewButton in the header template of the aspxgridview(DevExpress Control) to insert a new record to the aspxgridview ?becuase I don't want to add the NewButton in every row in the grid
I would appreciate any help in this
Try this link
This has been brought up a few times (and answered) on the DevExpress forums.
The crux of the solution is to add a footer template to your grid and then put an html button in the footer with the OnClick handler set to mygridname.AddNewRow();
as in...
<input id="btnAdd" type="button" value="Add" onclick="grid.AddNewRow();" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With