<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True"
GridLines="None" Skin="Outlook" AutoGenerateColumns="False" OnPageIndexChanged="RadGrid1_PageIndexChanged"
OnPageSizeChanged="RadGrid1_PageSizeChanged" VirtualItemCount="30000" OnSortCommand="RadGrid1_SortCommand"
OnItemCommand="RadGrid1_ItemCommand" PageSize="5" EnableHeaderContextMenu="True">
<MasterTableView DataKeyNames="company">
<PagerStyle AlwaysVisible="True" />
<Columns>
<telerik:GridTemplateColumn DataField="company" HeaderText="Code" UniqueName="company">
<ItemTemplate>
<asp:LinkButton runat="server" ID="lnkCompany" Text='<%#Eval("company")%>' CommandArgument='<%#Eval("company") +"," +Eval("name")%>'
OnClick="lnkCompany_Click"></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn HeaderText="Companies ID" DataField="companiesid" UniqueName="companiesid" />
<telerik:GridBoundColumn HeaderText="UC" DataField="adnocsupplier" UniqueName="adnocsupplier" />
<telerik:GridBoundColumn HeaderText="Name" DataField="name" UniqueName="name" />
<telerik:GridBoundColumn HeaderText="Type (A,C,M,P,V)" DataField="type (A,C,M,P,V)"
UniqueName="type" />
<telerik:GridBoundColumn HeaderText="Status (A,C,M,P,V)" DataField="status (A,C,M,P,V)"
UniqueName="status (A,C,M,P,V)" />
<telerik:GridBoundColumn HeaderText="Rating (C,M,V)" DataField="rating (C,M,V)" UniqueName="rating (C,M,V)" />
<telerik:GridBoundColumn HeaderText="HSE Score" DataField="hsescore" UniqueName="hsescore" />
<telerik:GridBoundColumn HeaderText="QA Score" DataField="qascore" UniqueName="qascore" />
<telerik:GridBoundColumn HeaderText="OPCO" DataField="opco" UniqueName="opco" />
</Columns>
<CommandItemSettings ShowExportToCsvButton="True" ShowExportToExcelButton="True" />
</MasterTableView>
<ExportSettings HideStructureColumns="True" IgnorePaging="True" OpenInNewWindow="True" />
</telerik:RadGrid>
Hi,
I am trying to Export Radgrid to CSV.. But problem is getting exporting with html tags..
Please help me to ignore the html tags on gridboundcolumns and to export only the required data
Soon reply highly appreciated