
5 Answers, 1 is accepted
This options are independent. This means that if you disable editing of a row, you can still add or delete a row. I couldn't reproduce the issue with the supplied information. I tried to achieve it with the following code snippet:
private
void
Form_Load(
object
sender, EventArgs e)
{
this
.radGridView.DataSource = yourDataSource;
this
.radGridView.MasterGridViewTemplate.AllowDeleteRow =
true
;
this
.radGridView.MasterGridViewTemplate.AllowEditRow =
false
;
this
.radGridView.MasterGridViewTemplate.AllowAddNewRow =
false
;
}
Could you please provide a sample project or a code snippet which reproduces the issue?
Regards,
Svett
the Telerik team
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Private Sub UserMaint_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' icon visible until data is loaded
Me.ProgressIcon.Visibility = ElementVisibility.Visible
' translate form
If My.Application.ag.Country <> My.Application.ag.SYSDefaultCountry Then
My.Application.ag.TranslateForm(Me)
End If
' update status bar text
Me.StatusText.Text = My.Application.ag.AGTranslate(41, "Loading Data ...")
' get table data
Me.TblUsersTableAdapter.Fill(Me.DataSet1.tblUsers)
' expressions for calculated columns
Me.TblUsersRadGridView.Columns("Multi-Country").Expression = "USR_Multi_Country_Flag = 'Y'"
Me.TblUsersRadGridView.Columns("Status").Expression = "IIF(USR_Status='A','Active','Inactive')"
Me.TblUsersRadGridView.MasterGridViewTemplate.AllowDeleteRow = True
' fit column sizes to data
Me.TblUsersRadGridView.MasterGridViewTemplate.BestFitColumns()
' save grid layout to a temp file, so we can refresh
Try
Me.TblUsersRadGridView.SaveLayout(My.Computer.FileSystem.SpecialDirectories.Temp & "\UserMaintGrid")
Catch ex As Exception
'if it doesn't work because of a firewall, just forget it
End Try
' icon visible until data is loaded
Me.ProgressIcon.Visibility = ElementVisibility.Hidden
Me.StatusText.Text = ""
End Sub
Thank you for the provided code. I have examined it but I cannot find anything that could be the reason that delete is not working on your side. Please, try setting all three properties using code in form Load event as Svett has already shown. If this does not help, please open a new support ticket and send me a small working example that demonstrates the issue. This will help me to investigate your custom scenario further and provide accurate assistance.
Best wishes,
Martin Vasilev
the Telerik team
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Thank you for getting back to me. If the EnableEdit option (in the PropertyBuilder) is unchecked that puts the whole RadGridView in ReadOnly mode and deleting rows is not allowed. ReadOnly mode overrides AllowDeleteRow property, and that is why you cannot delete a row even if it is set to true.
Let me know if you have any additional questions.
Sincerely yours,
Martin Vasilev
the Telerik team
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.