The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using a GridDataBoundGrid, and am wondering if there is a way to prevent a user from deleting a single row (but they can still delete the rest).
I.E. they are configuring default values in the first row, and overriding them in additional rows, but I don't want the user to be able to delete the first row.
ADAdministrator Syncfusion Team December 7, 2006 04:17 AM UTC
Hi Michael,
There is a property to control the removing the record from GridDataBoundGrid if the underlying datasource allows it. you can specify this by using Binder.EnableRemove property. You can subscribe the Binder.CurrentPositionChanged event at the top of the form and set Binder.EnableRemove to false for first record.