I.E. A "grid within a grid".
I'm using a RadGridView in a row details expansion panel to simulate a listbox with checkboxes. It seems to have developed some strange behaviors with recent versions of Telerik for Silverlight 4.
Here is the definition of the GridView in question:
In addition we set the RowIndicatorVisibility in code-behind to Collapsed.
There are two problems:
1) The system always selects the first item in the grid right after it is loaded. Not good for us since it gives everyone the Admin role.
2) Selections that are made in code, as well as the selection by the system referred to in item 1, are not displayed in the grid, even though the "ItemsSelect" collection will contain those selected items.
Needless to say this is all very unworkable.
Any ideas?
Thanks,
Mike Maddux
I'm using a RadGridView in a row details expansion panel to simulate a listbox with checkboxes. It seems to have developed some strange behaviors with recent versions of Telerik for Silverlight 4.
Here is the definition of the GridView in question:
<controls:PmcGridView Margin="5,10,5,5" x:Name="rolesDataGrid" AutoGenerateColumns="False" Width="Auto" RowLoaded="rolesDataGrid_RowLoaded"
EnableColumnVirtualization="False" SelectionMode="Multiple" ShowColumnFooters="False" ShowColumnHeaders="False"
AllowDrop="False" CanUserReorderColumns="False" CanUserSortColumns="False" ShowGroupPanel="False"
ShowInsertRow="False" GridLinesVisibility="None" CanUserFreezeColumns="False" SelectionChanged="rolesDataGrid_SelectionChanged"
RowIndicatorVisibility="Collapsed">
.
.
.
</controls:PmcGridView>
In addition we set the RowIndicatorVisibility in code-behind to Collapsed.
There are two problems:
1) The system always selects the first item in the grid right after it is loaded. Not good for us since it gives everyone the Admin role.
2) Selections that are made in code, as well as the selection by the system referred to in item 1, are not displayed in the grid, even though the "ItemsSelect" collection will contain those selected items.
Needless to say this is all very unworkable.
Any ideas?
Thanks,
Mike Maddux