I am trying to get collapsable groups on a radgrid along with a user control which will alter which columns appear in the grid via checkbox.
My grouping is accomplished in the code behind.
If I set the radgrid viewstateMode to "Disabled" then my user control checkbox values are recognized and with a submit button the columns appear and disappear.
However the grouped rows cannot be collapsed. If I switch the ViewStateMode to "Enabled" then the grouped rows collapse correctly but now the user control checkbox value never changes.(even though it has on screen)
Is there anyway to have the rows correctly collapse/expand AND recognize the current value the client selected checkbox of the user control?
This is part of the RadGrid:
<table width="100%" cellpadding="0" cellspacing="0" class="ContentTable">
<tr>
<td class="ContentTitleHeight">Specialty</td>
</tr>
<tr>
<td>
<telerik:RadGrid id="rgSpecialty"
runat="server"
ShowGroupPanel="false"
autogeneratecolumns="false"
AllowFilteringByColumn="true"
AllowSorting="true"
ViewStateMode="Disabled"
OnNeedDataSource="rgSpecialty_NeedDataSource"
GroupingSettings-CaseSensitive ="false" >
My grouping is accomplished in the code behind.
If I set the radgrid viewstateMode to "Disabled" then my user control checkbox values are recognized and with a submit button the columns appear and disappear.
However the grouped rows cannot be collapsed. If I switch the ViewStateMode to "Enabled" then the grouped rows collapse correctly but now the user control checkbox value never changes.(even though it has on screen)
Is there anyway to have the rows correctly collapse/expand AND recognize the current value the client selected checkbox of the user control?
This is part of the RadGrid:
<table width="100%" cellpadding="0" cellspacing="0" class="ContentTable">
<tr>
<td class="ContentTitleHeight">Specialty</td>
</tr>
<tr>
<td>
<telerik:RadGrid id="rgSpecialty"
runat="server"
ShowGroupPanel="false"
autogeneratecolumns="false"
AllowFilteringByColumn="true"
AllowSorting="true"
ViewStateMode="Disabled"
OnNeedDataSource="rgSpecialty_NeedDataSource"
GroupingSettings-CaseSensitive ="false" >