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

ExportToExcelML : Could not find neighbour element!

4 Answers 136 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Llorens Mathieu
Top achievements
Rank 1
Llorens Mathieu asked on 13 Nov 2009, 09:30 AM
Hello,
I just have installed the new Q3 2009 package and I still have an error when I try to export my radgriView into an Excel file.
Before upgrading I had an index out of range error. 
After upgrading I have : Could not find neighbour element!

I'am using this very simple piece of code :

Dim documentTop As AnalyseForm = CType(MainDock.DocumentManager.ActiveDocument.Controls(0), AnalyseForm) 
Dim exporter As New ExportToExcelML(documentTop.DataGrid) 
exporter.SheetMaxRows = ExcelMaxRows._65536 
exporter.ExportVisualSettings = True 
Dim fileName As String = "c:\ExportedData.xls" 
exporter.RunExport(fileName) 

Thanks for your help

4 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 18 Nov 2009, 01:32 PM
Hello Llorens Mathieu,

Thank you for writing.

I confirm that we have introduced an issue with the export to excel functionality and it throws the described exception if there are a lot of hidden columns. We are going to address this in the upcoming Service Pack. Unfortunately, the only workaround for the time being is to unhide the columns. Please accept our apologies for the inconvenience.

Do not hesitate to contact me again if you have other questions.

Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Llorens Mathieu
Top achievements
Rank 1
answered on 24 Nov 2009, 03:59 PM
Hi,
Do you know when you will be able to release this service pack?
0
Martin Vasilev
Telerik team
answered on 27 Nov 2009, 09:21 AM
Hi Llorens Mathieu,

Q3 2009 Service Pack 1 release is scheduled for the next week. Write me back if you have any other questions.

Regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mike Moore
Top achievements
Rank 1
answered on 12 Jan 2010, 09:56 PM
Verified the fix in Q3 2009 SP1. Thanks! This is huge for us!
Tags
GridView
Asked by
Llorens Mathieu
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Llorens Mathieu
Top achievements
Rank 1
Mike Moore
Top achievements
Rank 1
Share this question
or