Problem With Checkbox

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    29 posts
    Member since:
    Dec 2015

    Posted 24 May 2017 Link to this post

    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

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3530 posts

    Posted 25 May 2017 Link to this post

    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.DataSource property, 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.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top