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

Create Excel report base on Excel Template - Taking data from an objectdatasource

4 Answers 271 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benn
Top achievements
Rank 1
Benn asked on 17 Aug 2011, 05:59 AM
Hi,

Before asking my company to buy a telerik product, I was wondering if Telerik has a tool allowing to generate an Excel report base on a template  file using an ObjectDataSource. Let say we have Template.xls file. I want to be able to export data into some specific cells in the Template.xls file and than save this in a temporay folder with the name ReportYYYYMMDD.xls send the file to the client side for the users to save it in his local machine.

I will need to use something like
- workbook.sheet1.cell(i,j)= xyz;
- workbook.sheet1.cell(i+1,j)= zzz

If it's possible, could you please point me that tool and show a complete code to use?

Thanks

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 17 Aug 2011, 11:26 AM
Hi Benn,

It is the report itself that is the template when you export to Word (or other formats) and you cannot use an external file as base for a new report or affect the layout you've already created in a report definition.

So the answer to your question would be no, we do not offer such a tool in our suite.

Greetings,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Benn
Top achievements
Rank 1
answered on 17 Aug 2011, 02:19 PM
Hi Steve,

What you mean by its the report itself that is the template? Do you mean that you have a tool that will allow to create an Excel report template (with our logo, some colors, etc...) and use it has a template?

Benn
0
Benn
Top achievements
Rank 1
answered on 17 Aug 2011, 02:33 PM
The data will be taking from an Object like dataset and this Object will be populated base on a query results.
0
Steve
Telerik team
answered on 19 Aug 2011, 09:32 AM
Hello Benn,

What Telerik Reporting is meant for and allows you to do is use your data to bind a report. The report in its essence is a template (see Understand the Why, What and How of Reporting Solutions) that combined with your data would allow you to export it to various supported document formats. The exported Excel however would contain all the data that you see in the report and you cannot specify certain cells only.

Greetings,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Benn
Top achievements
Rank 1
Answers by
Steve
Telerik team
Benn
Top achievements
Rank 1
Share this question
or