In order to hide the Add New Record
Button you should set the CommandItemSettings-ShowAddNewRecordButton
property to false
. If you would like to hide the CommandItem
completely you can set the CommandItemDisplay
property to None
As for showing the Insert row at all times. You need to handle the Page_PreRender
event and set the RadGrid
in insert mode. In order for the configuration to work you should also rebind the grid. Note that this would result in requesting the same data twice.
The following code snippet illustrates the approach:
sender, EventArgs e)
I hope this helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items