Hi,
For some reason i've suddenly got these Visual Studio 2005 errors:
Element 'csv' is not supported
Type 'Telerik.Web.UI.GridExportSettings' does not have a public property named 'CSV'.
when i build my project. It's been working fine for ages, and I can't see anything that has changed since the last good build.
It seems that the CSV exporting functionality has disappeared. What could have done this?
I usualy validate against XHTML 1.0 Transitional, but none of the others work either. I've re-registered the controls and relaunched VS.
This error seems to appear in all the .aspx files that use the grid. Also, intellisense doesn't see the <csv>, but it DOES see the <pdf> & <Excel>
Can anyone suggest what i can do?
My markup is:
...
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
...
<telerik:RadGrid ID="gridUsers" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" GridLines="None" OnPageIndexChanged="gridUsers_PageIndexChanged"
OnNeedDataSource="gridUsers_NeedDataSource">
<PagerStyle Mode="NextPrevAndNumeric" NextPageText="Next" PrevPageText="Prev" />
<ExportSettings>
<Pdf FontType="Subset" PaperSize="Letter" />
<Excel Format="Html" />
<Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" /> <- FAILING HERE!!!
</ExportSettings>
<MasterTableView ClientDataKeyNames="Login" CommandItemDisplay="Top" CurrentResetPageIndexAction="SetPageIndexToFirst"
DataKeyNames="Login" Dir="LTR" Frame="Border" TableLayout="Auto">
<CommandItemTemplate>
...
</CommandItemTemplate>
<Columns>
...
</Columns>
<ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<EditFormSettings>
<EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="True" />
<ClientEvents OnRowDblClick="gridUsers_OnRowDblClick" OnRowSelected="RowSelected" />
</ClientSettings>
</telerik:RadGrid>
thanks