This seems like a fooling problem with the Telerik RadGrid, with most of the properties not working from the property settings or thru code behind.
The RadGrid is defined as follows,
I did try the workaround provided in the online help at http://www.telerik.com/help/aspnet-ajax/grdpreventgroupsexpansion.html
Note that, this happens with or without skin. When i have the skin set, it shows the images(+/-) correctly, when i have the skin="" then its not even showing the image from my custom path.
I either need the column to be hidden completely, or if that is not possible then i would need to show my own images.
Need an answer ASAP. Any help from Telerik team is appreciated.
<
telerik:RadGrid
ID="rdStandardReports"
runat="server"
EnableEmbeddedSkins="false"
AutoGenerateColumns="False"
AllowMultiRowSelection="True"
PageSize="1000" GridLines="None" Skin="">
<HeaderStyle BackColor="MidnightBlue"
Font-Bold="True"
Font-Size="8pt"
Font-Italic="False"
Font-Names="Arial"
Font-Overline="False"
Font-Strikeout="False"
Font-Underline="False"
ForeColor="White"
Wrap="True"
HorizontalAlign="Center"
VerticalAlign="Middle" />
<MasterTableView
GridLines="Both"
Font-Names="Arial"
Font-Size="8pt">
<Columns>
<telerik:GridTemplateColumn
UniqueName="selectColumn"
HeaderText="Select">
<HeaderStyle Width="10%" />
<ItemStyle Width="10%" HorizontalAlign="Center" />
<ItemTemplate>
<asp:CheckBox ID="chkProfileId" runat="server" OnCheckedChanged="Report_Selected" AutoPostBack="true" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridHyperLinkColumn
UniqueName="actionColumn"
HeaderText="Action"
Text="Modify"
DataNavigateUrlFields="RPT_SETTINGS_PAGE">
<ItemStyle Width="10%" HorizontalAlign="Center" />
<HeaderStyle Width="10%" />
</telerik:GridHyperLinkColumn>
<telerik:GridBoundColumn
DataField="RPT_NAME"
HeaderText="Report Name"
UniqueName="colRptName">
<ItemStyle Width="60%" />
<HeaderStyle Width="60%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
HeaderText="Last Requested"
UniqueName="colLstRequested"
DataField="RPT_CATEGORY_NAME">
<ItemStyle Width="30%" />
<HeaderStyle Width="30%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
HeaderText="RptPrflId"
UniqueName="colRptPrflId"
DataField="RPT_PROFILE_ID"
Visible="False">
</telerik:GridBoundColumn>
</Columns>
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="RPT_CATEGORY_NAME" FieldAlias="RPT_CATEGORY_NAME" HeaderText="RPT_CATEGORY_NAME" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="RPT_CATEGORY_NAME" FieldAlias="RPT_CATEGORY_NAME" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
<ExpandCollapseColumn
ButtonType="ImageButton"
Resizable="False"
Visible="False"
CollapseImageUrl="../Images/ico_collapse.gif"
ExpandImageUrl="../Images/ico_expand.gif">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<ItemStyle Font-Names="Arial" ForeColor="Black" />
</MasterTableView>
<ClientSettings
AllowExpandCollapse="False"
AllowGroupExpandCollapse="False">
<Selecting EnableDragToSelectRows="False" />
<Resizing AllowColumnResize="True" />
</ClientSettings>
<GroupHeaderItemStyle
Font-Bold="True"
Font-Italic="False"
Font-Names="Arial"
Font-Overline="False"
Font-Strikeout="False"
Font-Underline="False"
ForeColor = "Black"
Wrap="True" />
<GroupPanel Enabled="False">
</GroupPanel>
<ValidationSettings EnableValidation="False" />
</telerik:RadGrid>
