This question is locked. New answers and comments are not allowed.
I face two problem with the grouping in datagrid
1. When i drag and drop a column on the Group panel Header(Drag a column header and drop it here to group by that column), grouping is not working properly. (Actually sometimes it is working, sometimes it is not. At that time when i click the refresh the refresh button in the Grid, it is working.)
2. After grouping the items when i refresh the page, the grouping is Undone. I want to maintain the state of grouping even after page refresh. What should i do?
Here is the code snippet which i have used.
<rad:RadGrid ID="rGrid" Width="100%" RadControlsDir="~/_controltemplates/OrganiceTeam/RadControls"
SkinsPath="~/_controltemplates/OrganiceTeam/RadControls/Grid/Skins" Skin="Office2007" AutoGenerateColumns="false"
EnableAJAX="true" AllowPaging="true" PageSize="5" EnableOutsideScripts="true" runat="server" >
<MasterTableView CommandItemDisplay="Bottom" >
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
<HeaderStyle CssClass="ms-menutoolbar" Font-Names="Tahoma" HorizontalAlign="Left" Wrap="False"/>
<ItemStyle CssClass="ms-alternating" Height="22px" Font-Names="Tahoma" Wrap="False" />
<AlternatingItemStyle Height="22px" Font-Names="Tahoma" Wrap="False" />
<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True" AllowDragToGroup="True" AllowGroupExpandCollapse="True" AllowExpandCollapse="True" >
<Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />
</ClientSettings>
<GroupPanel Font-Names="Tahoma">
<PanelStyle Font-Names="Tahoma" />
</GroupPanel>
</rad:RadGrid>
1. When i drag and drop a column on the Group panel Header(Drag a column header and drop it here to group by that column), grouping is not working properly. (Actually sometimes it is working, sometimes it is not. At that time when i click the refresh the refresh button in the Grid, it is working.)
2. After grouping the items when i refresh the page, the grouping is Undone. I want to maintain the state of grouping even after page refresh. What should i do?
Here is the code snippet which i have used.
<rad:RadGrid ID="rGrid" Width="100%" RadControlsDir="~/_controltemplates/OrganiceTeam/RadControls"
SkinsPath="~/_controltemplates/OrganiceTeam/RadControls/Grid/Skins" Skin="Office2007" AutoGenerateColumns="false"
EnableAJAX="true" AllowPaging="true" PageSize="5" EnableOutsideScripts="true" runat="server" >
<MasterTableView CommandItemDisplay="Bottom" >
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
<HeaderStyle CssClass="ms-menutoolbar" Font-Names="Tahoma" HorizontalAlign="Left" Wrap="False"/>
<ItemStyle CssClass="ms-alternating" Height="22px" Font-Names="Tahoma" Wrap="False" />
<AlternatingItemStyle Height="22px" Font-Names="Tahoma" Wrap="False" />
<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True" AllowDragToGroup="True" AllowGroupExpandCollapse="True" AllowExpandCollapse="True" >
<Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />
</ClientSettings>
<GroupPanel Font-Names="Tahoma">
<PanelStyle Font-Names="Tahoma" />
</GroupPanel>
</rad:RadGrid>