How to select multiple checkbox in same row

1 posts, 0 answers
  1. Gen
    Gen avatar
    15 posts
    Member since:
    Nov 2010

    Posted 07 Feb 2012 Link to this post


    I have a radGridView with 2 columns with checkboxes.
    When I check/uncheck a checkbox in the first column, it should affect only that cell (normal behavior).
    When I check/uncheck a checkbox in the second column, I would like to check/uncheck automatically the one in the first column, without having to manually check/uncheck it.

    How may I achieve this?

    Here is my code:
    <telerik:RadGridView x:Name="radgridview1" RowIndicatorVisibility="Collapsed" Height="527" ShowGroupPanel="False" ItemsSource="{Binding Path=AllUser}" AutoGenerateColumns="False" ScrollMode="RealTime">
            <telerik:GridViewDataColumn UniqueName="CompleteName" IsReadOnly="True"  DataMemberBinding="{Binding CompleteName}" Header="Users" />
            <telerik:GridViewDataColumn UniqueName="IsAdmin" Header="Admin">
                        <CheckBox IsChecked="{Binding IsAdmin, Mode=TwoWay}" />
            <telerik:GridViewDataColumn UniqueName="IsFullAdmin" Header="Full Admin">
                        <CheckBox IsChecked="{Binding IsFullAdmin, Mode=TwoWay}" />
Back to Top