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

RadGrid export to pdf not working fine

3 Answers 390 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
bharat veer
Top achievements
Rank 1
bharat veer asked on 05 Apr 2011, 03:01 PM
I have a radgrid.
Data is shown in the RadGrid
On window xp professional service pack 3 with Adobe Reader 8.2
i run the code
RadGrid.MasterTableView.ExportToPDF();
Its work fine.

when same code i run on Window7 Enterprise service pack1 with Adobe Reader 9.4 (on remote machine)
it does not work fine.
By default file that is exported from the radgrid is shown with word format.
and have the data in encrypted format. Second thing when this file is opened
in pdf it does not contain anything.

Please provide me solution.

3 Answers, 1 is accepted

Sort by
0
bharat veer
Top achievements
Rank 1
answered on 20 Apr 2011, 10:08 AM
I found the solution after some R&D

Radgrid1.ClientSettings.Scrolling.UseStaticHeaders = false;

after putting this property false. Now pdf exporting functionlaity is working.
0
suresh
Top achievements
Rank 1
answered on 18 May 2011, 08:28 AM
Hi there,
I have using AJAX Q2 2010 NET3.5.I have created radgrid dynamically on a pageInt event.Im not able to export the radgrid to excel or pdf from default commanditem in a mastertableview header.When i click the default button postback occured and nothing performed.It makes me mad.Please help me.
0
Daniel
Telerik team
answered on 18 May 2011, 09:23 AM
Hello Suresh,

Please have a look at the help topic below:
Export from ajaxified grid

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
General Discussions
Asked by
bharat veer
Top achievements
Rank 1
Answers by
bharat veer
Top achievements
Rank 1
suresh
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or