I'm attaching a jpg of what I see. I want the export to word and export to excel buttons to go away and for the row that contains them to go away. Here's the code from my .aspx file:
The only other thing I have going on is I reference a skin in App_Themes that has the following code:
I'm guessing that this might be messing me up, but I can't figure out how/why. I'd like to keep the skin, as it works well for 99% of my grids.
Any ideas would be much appreciated.
Thanks!
Laurie
<telerik:RadGrid ID="rgFields" runat="server" OnNeedDataSource="rgFields_NeedDataSource" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" OnItemDataBound="rgFields_ItemDataBound" OnItemCreated="rgFields_ItemCreated" MasterTableView-CommandItemDisplay="None"> <MasterTableView DataKeyNames="FieldID" AllowFilteringByColumn="false" AllowSorting="false" AllowPaging="false" PageSize="1000" CommandItemSettings-ShowExportToExcelButton="false" CommandItemSettings-ShowExportToWordButton="false" CommandItemSettings-ShowAddNewRecordButton="false" CommandItemSettings-ShowRefreshButton="false"> <Columns> <telerik:GridBoundColumn AutoPostBackOnFilter="true" DataField="FieldName" HeaderText="Field" UniqueName="FieldName"> </telerik:GridBoundColumn> <telerik:GridBoundColumn AutoPostBackOnFilter="true" DataField="FieldType.FieldTypeName" HeaderText="Type" UniqueName="FieldTypeName"> </telerik:GridBoundColumn> </Columns> </MasterTableView></telerik:RadGrid>The only other thing I have going on is I reference a skin in App_Themes that has the following code:
<telerik:RadGrid runat="server" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="true" GridLines="None" AutoGenerateColumns="False" Skin="Default" PagerStyle-AlwaysVisible="true" PagerStyle-PageSizeLabelText="Number of entries per page:"> <MasterTableView CommandItemDisplay="top"> <CommandItemSettings ShowExportToWordButton="True" ShowExportToExcelButton="True" /> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True"> <HeaderStyle Width="20px" /> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True"> <HeaderStyle Width="20px" /> </ExpandCollapseColumn> </MasterTableView> <HeaderStyle Font-Bold="true" VerticalAlign="top" /> <ExportSettings ExportOnlyData="True" IgnorePaging="True" OpenInNewWindow="True" /> <GroupingSettings CaseSensitive="false" /> <AlternatingItemStyle VerticalAlign="Top" /> <ItemStyle VerticalAlign="Top" /></telerik:RadGrid>I'm guessing that this might be messing me up, but I can't figure out how/why. I'd like to keep the skin, as it works well for 99% of my grids.
Any ideas would be much appreciated.
Thanks!
Laurie
