I have a page loaded in an iframe with a RadGrid. The export feature does not work unless I set ExportSettings-OpenInNewWindow to false. The problem is exporting to PDF fills the entire frame instead of opening up as a PDF file like setting ExportSettings-OpenInNewWindow to true. Can the PDF be exported to a new window from within an iframe?
Thanks.
Thanks.
5 Answers, 1 is accepted
0
Hi An,
I have tested your scenario and everything is working as expected on my end with Export-Settings-OpenInNewWindow set to "true" and a grid within iframe element.
Could you please test the attached sample page and see if it works as expected on your side.
If you continue to face the issue, please elaborate about the RadControls version you are using and if this behavior is observable in all browsers.
Konstantin Dikov
Telerik
I have tested your scenario and everything is working as expected on my end with Export-Settings-OpenInNewWindow set to "true" and a grid within iframe element.
Could you please test the attached sample page and see if it works as expected on your side.
If you continue to face the issue, please elaborate about the RadControls version you are using and if this behavior is observable in all browsers.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
An
Top achievements
Rank 1
answered on 12 Nov 2013, 01:55 PM
Hi Konstantin,
Thanks for the code samples. I loaded these on the server and it behaved just the same as mine. Nothing happened when exporting. I am using IE 9.0.
I am using version 2012.3.1308.35
Thanks.
An
Thanks for the code samples. I loaded these on the server and it behaved just the same as mine. Nothing happened when exporting. I am using IE 9.0.
I am using version 2012.3.1308.35
Thanks.
An
0
Hello An,
I have tested previously attached sample page with version 2012.3.1308 and everything is working as expected in all browsers.
Since we are not able to replicate the issue locally, it is hard to determine the reasons behind this behavior on your end. Could you please test this in different browsers and see if the issue is still present or it is only observable in IE 9? Additionally, could you please debug and elaborate if the ExportToPdf command is firing. You could do this by setting break point in the ItemCommand server-side event handler:
Looking forward to your reply.
Konstantin Dikov
Telerik
I have tested previously attached sample page with version 2012.3.1308 and everything is working as expected in all browsers.
Since we are not able to replicate the issue locally, it is hard to determine the reasons behind this behavior on your end. Could you please test this in different browsers and see if the issue is still present or it is only observable in IE 9? Additionally, could you please debug and elaborate if the ExportToPdf command is firing. You could do this by setting break point in the ItemCommand server-side event handler:
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName ==
"ExportToPdf"
)
{
//
}
}
Looking forward to your reply.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
vijay
Top achievements
Rank 1
answered on 11 Jan 2017, 05:46 PM
hi Konstantin,
I am facing same issue, if you find any answer please let me know.
0
Hi Vijay,
If you can isolate the issue in a sample project you can open a regular support ticket and attach it, so we can test the problem locally and see if we can reproduce the issue.
Meanwhile, can you please elaborate if the attached project in one of the previous posts works on your end?
Regards,
Konstantin Dikov
Telerik by Progress
If you can isolate the issue in a sample project you can open a regular support ticket and attach it, so we can test the problem locally and see if we can reproduce the issue.
Meanwhile, can you please elaborate if the attached project in one of the previous posts works on your end?
Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.