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

ExportPDF - Security Permission

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manoj
Top achievements
Rank 1
Manoj asked on 01 Oct 2014, 12:48 PM
Hi,

i am using Telerik 2014 version , facing problem in exporting to PDF from the Radgrid.
My Applicaion should works trust Level in "Medium".  When i am generating excel and doc, it works fine for me. But generating PDF only am facing following issue

ex:

Server Error in '/Adrenalin' Application.Security ExceptionDescription: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

My Code in C#:
  rgrdRptGrid.MasterTableView.ExportToPdf();

Please help me out to sort out the issue


1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 06 Oct 2014, 08:59 AM
Hello Manoj,

I am afraid that exporting RadGrid in Medium trust is not supported. A full list of  PDF export limitations could be found at the following help article. Please excuse us for any inconvenience this might have caused you.

Regards,
Kostadin
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.

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