Checkbox in radgrid getting enabled when clicked outside

2 posts, 0 answers
  1. Anand
    Anand avatar
    3 posts
    Member since:
    Jul 2013

    Posted 04 Jun 2020 Link to this post

    Hi,

    We have a radgrid in our .aspx page with batchedit functionality, in which we have a column that contains checkboxes.
    We will disable/enable the checkboxes based on the value from DB. 
    We found an issue here, that is, when a checkbox is disabled based on DB value, and if a user comes and clicks beside the disabled checkbox (outside the checkbox; and inside the same cell in radgrid where this checkbox is present), the disabled checkbox is getting enabled.

    Not sure why it is happening. Can someone please help?

    Thanks in advance.

  2. Doncho
    Admin
    Doncho avatar
    96 posts

    Posted 09 Jun 2020 Link to this post

    Hi Anand,

    By default when Batch Edit mode is enabled the user needs to click on the cell first and then change its value.

    In order to help you troubleshoot the current scenario, I would need to see more details on it. Please share the markup declaration of the RadGrid and the related code-behind, so that we have a better overview of the case.

    I am also attaching a basic sample showing RadGrid using GridCheckBoxColumn and GridTemplateColumn with a checkbox for you to test. It would be helpful if you modify the sample so that it reproduces the problem and send it back to us for further troubleshooting in a formal support ticket, or give us the steps to reproduce it locally.

    In case you prefer to change the value of a cell by clicking directly on the CheckBox in it, check out the Editing CheckBoxes directly in Batch Edit Mode article.

    Kind regards, 
    Doncho
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top