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

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

2 Answers 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dilip
Top achievements
Rank 1
Dilip asked on 11 Jun 2013, 10:14 AM
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 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 11 Jun 2013, 12:05 PM
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.

0
Dilip
Top achievements
Rank 1
answered on 11 Jun 2013, 12:16 PM

<

 

 

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.

 

Tags
GridView
Asked by
Dilip
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Dilip
Top achievements
Rank 1
Share this question
or