Hi,
I have a RadGridView binded to a DataSet which contains many DataTables. I have also defined a GridViewSelectColumn to let the displayed rows Selectable. But when i navigate to another screen then return, i lose the selection in the grid. This may be caused by the refresh of the grid data. I want to let selection stay until i destroy the screen instance.
Here's my code :
I have a RadGridView binded to a DataSet which contains many DataTables. I have also defined a GridViewSelectColumn to let the displayed rows Selectable. But when i navigate to another screen then return, i lose the selection in the grid. This may be caused by the refresh of the grid data. I want to let selection stay until i destroy the screen instance.
Here's my code :
<
telerik:RadGridView
CanUserSelect
=
"False"
RowLoaded
=
"radGridSuccessRows_RowLoaded"
IsFilteringAllowed
=
"True"
ShowGroupPanel
=
"False"
Name
=
"radGridSuccessRows"
AutoGenerateColumns
=
"True"
RowIndicatorVisibility
=
"Collapsed"
AutoGeneratingColumn
=
"OnAutoGeneratingColumn"
ItemsSource
=
"{Model.ValidationDataSet,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
EnableColumnVirtualization
=
"True"
EnableRowVirtualization
=
"True"
SelectionChanged
=
"RadGridSuccessRows_OnSelectionChanged"
DataLoadMode
=
"Asynchronous"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewSelectColumn
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>