I have Gridview with checkbox column and data bound to datasource,
When i try to change checkbox status, it gives me Data Exception: "Column 'Ex' is read only"
how to make this event firing without commiting to database
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 May 2017, 01:59 PM
Hello Ahmed,
Thank you for writing.
When you bind the grid to a collection that contains a read-only property, the respective column that is generated is expected to be read-only as well. Thus, you won't encounter this error message. If you add the column programmatically after setting the RadGridView.DataSourceproperty, make sure that the column's ReadOnly property is set to true.
I hope this information helps. Should you have further questions I would be glad to help.