This is a migrated thread and some comments may be shown as answers.

CSV exporting not building in Radgrid

1 Answer 52 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Brad asked on 17 Oct 2008, 06:29 AM


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"
        <PagerStyle Mode="NextPrevAndNumeric" NextPageText="Next" PrevPageText="Prev" />
            <Pdf FontType="Subset" PaperSize="Letter" />
            <Excel Format="Html" />
            <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" />  <- FAILING HERE!!!
        <MasterTableView ClientDataKeyNames="Login" CommandItemDisplay="Top" CurrentResetPageIndexAction="SetPageIndexToFirst"
            DataKeyNames="Login" Dir="LTR" Frame="Border" TableLayout="Auto">
            <ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                Resizable="False" Visible="False">
                <HeaderStyle Width="20px" />
            <RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                <HeaderStyle Width="20px" />
                <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
            <Selecting AllowRowSelect="True" />
            <ClientEvents OnRowDblClick="gridUsers_OnRowDblClick" OnRowSelected="RowSelected" />


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 17 Oct 2008, 08:24 AM
Hello Brad,

I suppose you may accidentally upgraded to an older version.

I tried to reproduce this behavior with the latest release but unfortunately without avail. For your convenience I attached my test project (together with the assemblies) to the thread.

the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question