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

[Solved] Issues with resizing and when exporting to PDF

1 Answer 269 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohit
Top achievements
Rank 1
Mohit asked on 14 Apr 2008, 10:26 AM
Hi,

I have a RadGrid with three buttons viz Export to word, Export to Excel, Export to PDF in the aspx page. The buttons contains one line code
RadGrid1.MasterTableView.ExportToWord();
RadGrid1.MasterTableView.ExportToExcel();
RadGrid1.MasterTableView.ExportToPdf();

In the grid column resizing, client side column reordering, row selection, sorting paging is enabled.

I facing following problems while using Export to Pdf and Grid Resizing property

1. I am using export to Pdf function and the property Open in new window is false but the pdf document appears in the current window.
What should i do if I want to directly Download the pdf file.This problem didn't occurred when I used Export to Word and Export to Excel.

2. Resize grid on column resize property is true but it doesn't reflect in  IE 7 but in mozill everything is working fine however, in safari 3.1 resizing columns is not working.

3. Why exported grid data is not arranged in tabular form when exported to pdf. Means i would like to have grid lines in the pdf document.

Please Help me and solve these issues

Regards,
Mohit Tiwari

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 17 Apr 2008, 02:07 PM
Hello Mohit,

I think you can resolve the first problem if you set OpenInNewWindow="true" for the export settings.

Regarding the resizing in Safari, this is a known issue under this browser. Unfortunately our developers did not manage to resolve it with the latest release. Hopefully it will be fixed for the next service pack.

Please refer to the following online demo for an example of Grid with ResizeGridOnColumnResize="true" which is working under IE as well.

As for the last question, indeed this seems to be a bug with the export to PDF functionality. I have notified our developers for it. Please excuse us for any inconvenience caused. As a token of gratitude for your feedback I have updated your Telerik points.

Best wishes,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Mohit
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or