Cannot create an object of type 'Telerik.Web.UI.GridExcelExportFormat' from its string representation 'Xlsx' for the 'Format' property.

1 Answer 84 Views
Ajax
Tanvir
Top achievements
Rank 1
Iron
Tanvir asked on 01 Dec 2022, 04:05 AM

Cannot create an object of type 'Telerik.Web.UI.GridExcelExportFormat' from its string representation 'Xlsx' for the 'Format' property.
 <groupingsettings collapsealltooltip="Collapse all groups" />
Line 393:                <exportsettings exportonlydata="True">
Line 394:                    <Excel Format="Xlsx" />
Line 395:                </exportsettings>
Line 396:                <HeaderStyle BackColor="#614051" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />

1 Answer, 1 is accepted

Sort by
0
Accepted
Tanvir
Top achievements
Rank 1
Iron
answered on 01 Dec 2022, 04:36 AM
Firstly I run the application from the previous download that time it works perfectly. But now when I again downloaded It I just copy the file from bin35 but my system is an upgrade version so that error occur.  But when I copy .dll from bin45 at that time It works perfectly.
Attila Antal
Telerik team
commented on 05 Dec 2022, 05:20 PM

That is correct Tanvir. The XLSX is only supported by .NET 4.0 and above, you will need the assemblies that target that version (.40 or .45)
Tags
Ajax
Asked by
Tanvir
Top achievements
Rank 1
Iron
Answers by
Tanvir
Top achievements
Rank 1
Iron
Share this question
or