GridViewCheckBoxColumn not saving state after being checked

3 posts, 0 answers
  1. David
    David avatar
    7 posts
    Member since:
    Jun 2009

    Posted 25 Apr 2012 Link to this post

    I am having trouble getting a bound  boolean to a GridViewCheckBoxColumn to show its state. 

    <telerik:RadGridView Name="dgvBreaks" ShowGroupPanel="False" Margin="0,0,0,53" AutoGenerateColumns="False" SelectionUnit="Cell">
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Price}" Header="Price" Width="120" IsReadOnly="True" />
                    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding MatchUs}" Header="Match Us" AutoSelectOnEdit="True" EditTriggers="CellClick" />
                    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding MatchThem}" Header="Match Them" AutoSelectOnEdit="True" EditTriggers="CellClick" />

    It looks like everything is binding fine, but if I click on the checkbox and go to another cell, the state of the checkbox is reset. I bound a normal GridViewDataColumn to the boolean field and I can see that the value is updated each time I click on the cell.

    I am using build version 2012.1.326.40
  2. ClausDC
    ClausDC avatar
    60 posts
    Member since:
    Feb 2010

    Posted 02 May 2012 Link to this post

    I also have this problem.

    It seems to have snuck in with an update to a newer version, I'm using build version 2012.1.215.40.
  3. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 02 May 2012 Link to this post


     Indeed, there was such a problem with the official release. The problem was resolved and if you use the assemblies from the service pack, then your code should work as expected.

    Please let me know if you can still encounter any problems.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top