Grouping works fine in the normal condition. (i.e) When i drag a column and drop it in the group panel the columns are grouped perfectly.
But the problem is, when i refresh the page in the above said conditon the grouped columns comes to the normal state. (ie) Groping is undone.
When i refresh the page, the grouped elements in the page come back to the ungrouped state. What should i do so that the Grouped elemets remains in the same state, even if i refresh the page.
Here is the code snippet which i have used:
<rad:RadGrid ID="rGrid" Width="100%" RadControlsDir="~/_controltemplates/OrganiceTeam/RadControls"
AutoGenerateColumns="false" Skin="none" GroupingEnabled="true" ShowGroupPanel="true"
EnableAJAX="true" AllowPaging="true" PageSize="10" EnableOutsideScripts="true"
runat="server" MasterTableView-TableLayout="Auto" AllowFilteringByColumn="True">
<MasterTableView CommandItemDisplay="Bottom" CellPadding="2" CellSpacing="2" GroupLoadMode="Client">
<CommandItemStyle CssClass="ms-menutoolbar" />
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<NoRecordsTemplate>
<div class="ms-toolbar">
<asp:Label runat="server" ID="lblNoRecords">No site creation request exists.</asp:Label>
<br />
</div>
</NoRecordsTemplate>
</MasterTableView>
<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" CssClass="ms-toolbar" Height="25" Font-Bold="true" Width="100%" />
</GroupPanel>
</rad:RadGrid>
But the problem is, when i refresh the page in the above said conditon the grouped columns comes to the normal state. (ie) Groping is undone.
When i refresh the page, the grouped elements in the page come back to the ungrouped state. What should i do so that the Grouped elemets remains in the same state, even if i refresh the page.
Here is the code snippet which i have used:
<rad:RadGrid ID="rGrid" Width="100%" RadControlsDir="~/_controltemplates/OrganiceTeam/RadControls"
AutoGenerateColumns="false" Skin="none" GroupingEnabled="true" ShowGroupPanel="true"
EnableAJAX="true" AllowPaging="true" PageSize="10" EnableOutsideScripts="true"
runat="server" MasterTableView-TableLayout="Auto" AllowFilteringByColumn="True">
<MasterTableView CommandItemDisplay="Bottom" CellPadding="2" CellSpacing="2" GroupLoadMode="Client">
<CommandItemStyle CssClass="ms-menutoolbar" />
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<NoRecordsTemplate>
<div class="ms-toolbar">
<asp:Label runat="server" ID="lblNoRecords">No site creation request exists.</asp:Label>
<br />
</div>
</NoRecordsTemplate>
</MasterTableView>
<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" CssClass="ms-toolbar" Height="25" Font-Bold="true" Width="100%" />
</GroupPanel>
</rad:RadGrid>