if i check the top row checkbox inside the radgrid, at the bottom row also checkbox is checking

3 posts, 0 answers
  1. Dilip
    Dilip avatar
    23 posts
    Member since:
    Jun 2013

    Posted 11 Jun 2013 Link to this post

    i am using the Radgrid in my silverlight web application if i check the top row checkbox in the radgrid, some where at the bottom another checkbox will be checked. so to avoid this issue i used enablerowvirtualization and enablecolumnvirtualization as true but i am facing performance issue. please can some help me on this ASAP.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Jun 2013 Link to this post

    Hello,

    Would you please share some more detailed information on how have you defined the CheckBox and how do you handle its checked state? It would be also better if you clarify what result you would like to achieve.
     

    Regards,
    Didie
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Dilip
    Dilip avatar
    23 posts
    Member since:
    Jun 2013

    Posted 11 Jun 2013 Link to this post

    <

     

     

    telerik:RadGridView Visibility="{Binding ManagesiteFileGridviewVisibility}"

     

     

     

    x:Name="ManageSiteOrderGrid"

     

     

     

    ItemsSource="{Binding ManageSiteFileOrders, Mode=TwoWay}"

     

     

     

    SelectedItem="{Binding SelectedSiteFileOrder, Mode=TwoWay}"

     

     

     

    IsSynchronizedWithCurrentItem="True"

     

     

     

    Margin="2"

     

     

     

    ShowInsertRow="False"

     

     

     

    ShowGroupPanel="False"

     

     

     

    AutoExpandGroups="False"

     

     

     

    IsFilteringAllowed="False"

     

     

     

    AutoGenerateColumns="False"

     

     

     

    ScrollViewer.HorizontalScrollBarVisibility="Auto"

     

     

     

    ScrollViewer.VerticalScrollBarVisibility="Auto"

     

     

     

    RowIndicatorVisibility="Visible"

     

     

     

    ValidatesOnDataErrors="InViewMode"

     

     

     

    DataLoadMode="Asynchronous"

     

     

     

    Grid.Row="2"

     

     

     

    Grid.Column="1"

     

     

     

    IsReadOnly="{Binding IsReadonlyProp}"

     

     

     

    CanUserFreezeColumns="False" RowEditEnded="ManageSiteOrderGrid_RowEditEnded"

     

     

     

    EnableColumnVirtualization="False"

     

     

     

    EnableRowVirtualization="False" >

     

     

     

     

    <telerik:RadGridView.Columns>

     

     

     

     

    <telerik:GridViewDataColumn UniqueName="RadioButton" IsVisible="False" >

     

     

     

     

    <telerik:GridViewDataColumn.Header>

     

     

     

     

    <StackPanel Orientation="Vertical">

     

     

     

     

    <TextBlock Text="Select Source File"></TextBlock>

     

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

     

    <RadioButton x:Name="RadioButtonHeaderSourceFile" Content="None" Foreground="White" Click="RBSelSourceFileHeader_Click" ></RadioButton>

     

     

     

     

    </StackPanel>

     

     

     

     

    </StackPanel>

     

     

     

     

    </telerik:GridViewDataColumn.Header>

     

     

     

     

    <telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <RadioButton x:Name="RBSelSourceFile" Click="RBSelSourceFile_Click" Tag="{Binding FastFileID}" ></RadioButton>

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    </telerik:GridViewDataColumn>

     

     

     

     

    <telerik:GridViewDataColumn UniqueName="CheckBox" IsVisible="False">

     

     

     

     

    <telerik:GridViewDataColumn.Header>

     

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

     

    <CheckBox x:Name="SelectTargetFileChkBoxHeader" Foreground="White" Click="SelectTargetFileChkBoxHeader_Click"></CheckBox>

     

     

     

     

    </StackPanel>

     

     

     

     

    <TextBlock Text="Select Target Files"></TextBlock>

     

     

     

     

    </StackPanel>

     

     

     

     

    </telerik:GridViewDataColumn.Header>

     

     

     

     

    <telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <CheckBox x:Name="SelectTargetFileChkBox" Foreground="White" Click="SelectTargetFileChkBox_Click" ></CheckBox>

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    </telerik:GridViewDataColumn>

    Above code is sample one

    If i edit any row in the grid or switch between the tab the grid will flickers and it will take time to load the data.

     

Back to Top