This is a migrated thread and some comments may be shown as answers.

GridCheckBoxColumn shows up empty.

1 Answer 24 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Tormod asked on 01 Mar 2012, 12:03 PM




     <telerik:RadGridView Margin="4,5,5,4" ShowColumnFooters="False" ShowGroupPanel="False" AutoGenerateColumns="False" ShowInsertRow="False" ItemsSource="{Binding IoTerminals}">


         <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>

        <telerik:GridViewCheckBoxColumn Header="Simulated" DataMemberBinding="{Binding Simulated}"/>

         <telerik:GridViewCheckBoxColumn Header="Sim is possible" DataMemberBinding="{Binding SimPossible}" />





(Edit: I have made two edits on this post to try to make the above xaml look approachable, but to little avail)

The two Checkbox columns shows up empty. In the debugger I see that the property "SimPossible" is executed correctly and that it return "true". The "Name" column shows the correct value (boolean True).
If I change AutoGenerateColumns to True, then the additional generated columns shows correct value (and checked status).
No binding error is displayed in the debugger output window.

Is there any further parameterization necessary to map boolean "True" to display checked status? Do I need a value converter?

As you can see, this is in the rowdetails section of another GridView (in case that is relevant).

(New Info : Replacing the GridViewCheckBoxColumn with regular GridViewDataColumn is displayed correctly)

I use Q1 2012.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 02 Mar 2012, 10:45 AM

 Thank you for the detailed description - I have tested the described scenario and ,indeed, there was such a problem when using the official release. The problem was resolved and if you use the assemblies from the latest internal build, then your code should work as expected.

Please let me know if you can encounter any problems using the latest binaries.

the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Asked by
Top achievements
Rank 2
Answers by
Telerik team
Share this question