Cathy Shao
Top achievements
Rank 1
Cathy Shao
asked on 01 Mar 2011, 06:12 PM
I am using RadControls for WinForms Q2 2010 SP2
I tried to use gridview to export data to Excel.
I have following namespaces:
I tried to use gridview to export data to Excel.
I have following namespaces:
Imports
Telerik.WinControls
Imports
Telerik.WinControls.UI
Imports
Telerik.WinControls.UI.Export
Imports
Telerik.WinControls.Data
But I can't get ExportToExcelML method to come up when I code
Dim
exporter As ExportToExcelML = New ExportToExcelML(Me.gridview)
Did I miss anything?
5 Answers, 1 is accepted
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 01 Mar 2011, 06:18 PM
Hello,
It's not immediatly obvious but make sure you also add to your references TelerikData.dll
for reference, the help topic for export to excelml is here
Let me know if that helps
Richard
It's not immediatly obvious but make sure you also add to your references TelerikData.dll
for reference, the help topic for export to excelml is here
Let me know if that helps
Richard
0
Cathy Shao
Top achievements
Rank 1
answered on 01 Mar 2011, 06:24 PM
Yes. That's it. Thanks a lot.
0
Richard Slade
Top achievements
Rank 2
answered on 01 Mar 2011, 06:28 PM
You're welcome Cathy.
Please remember to mark as answer
Thanks
Richard
Please remember to mark as answer
Thanks
Richard
0
Chad
Top achievements
Rank 1
answered on 07 Oct 2014, 08:37 PM
I am seeing this now.
Imports Telerik.WinControls.Data
Imports Telerik.WinControls.UI.Export
Then this says ExportToExcelIML is not defined:
Dim exporter As ExportToExcelML = New ExportToExcelML(Me.RadGridView1)
Imports Telerik.WinControls.Data
Imports Telerik.WinControls.UI.Export
Then this says ExportToExcelIML is not defined:
Dim exporter As ExportToExcelML = New ExportToExcelML(Me.RadGridView1)
0
Hello Chad,
Thank you for writing.
The export to Excel functionality is located in the TelerikData.dll assembly. You need to include the following namespaces in order to access the types contained in TelerikData:
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
Thank you for writing.
The export to Excel functionality is located in the TelerikData.dll assembly. You need to include the following namespaces in order to access the types contained in TelerikData:
- Telerik.WinControls.Data
- Telerik.WinControls.UI.Export
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.