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

Export ListView Content to PDF, is it possible?

3 Answers 292 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Henric
Top achievements
Rank 1
Henric asked on 09 Jun 2011, 08:09 AM
As the title says, is this possible?

I would like to have a two- or three column based layout exported to pdf, instead of the gridview look which is one item per row.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Jun 2011, 06:50 AM
Hello Henric,

One suggestion is you can use the global item template feature of RadGrid for ASP.NET AJAX to create ListView/DataList like data presentation.
The following Demo shows how to achieve this.
Grid / ListView/DataList View

-Shinu.
0
Henric
Top achievements
Rank 1
answered on 10 Jun 2011, 07:36 AM
Shinu,
thanks for your effort, I've seen the example you're referring to but the problem is it does not preserve the formatting when exported to PDF.

Right now, I'm thinking of simply using a repeater etc. to create the layout I need and then use the built in print functions in Internet Explorer, with header, footer etc. disabled under "File --> Page Setup..." This approach is possible in my case since there are only two users of this application.

It would have been nice if Telerik somewhere in the future also would consider a solution for PDF creation like the other third party components out there ;-)


0
Daniel
Telerik team
answered on 13 Jun 2011, 10:14 AM
Hello Henric,

RadListView does not support exporting because of the variety of possible layouts that might cause problems when generating the PDF content.
Please excuse us for any inconvenience caused.

Best regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ListView
Asked by
Henric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Henric
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or