Hi,
http://demos.telerik.com/aspnet-ajax/scheduler/examples/pdfexport/defaultcs.aspx
Thanks
I have followed example provided in below link to export, this exports to a PDF fine, but this opens a dialog asking for open or save the PDF. is it possible to open the PDF directly without showing the open dialog.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/pdfexport/defaultcs.aspx
Thanks
6 Answers, 1 is accepted
0
Arvind
Top achievements
Rank 1
answered on 11 Jul 2012, 10:25 AM
Hi,
Help on the above issue please.
Thanks
Help on the above issue please.
Thanks
0
Hello,
Please, try this setting:
<ExportSettings FileName="SchedulerExport" OpenInNewWindow="false">
Regards,
Peter
the Telerik team
Please, try this setting:
<ExportSettings FileName="SchedulerExport" OpenInNewWindow="false">
Regards,
Peter
the Telerik team
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 their blog feed now.
0
Arvind
Top achievements
Rank 1
answered on 11 Jul 2012, 01:50 PM
Hi,
Making the OpenInNewWindow="false", will open the PDF in the same IE window hence navigating away from my page. What I need is to open the PDF in a new window but without showing the File download dialog box asking for save or open the PDF file.
Thanks
0
Hi Arvind,
You can set Target="_blank" for RadButton and point its NavigateUrl property to another page which calls the exportToPdf() method in Page_PreRender:
Regards,
Peter
the Telerik team
You can set Target="_blank" for RadButton and point its NavigateUrl property to another page which calls the exportToPdf() method in Page_PreRender:
protected
void
Page_PreRender(
object
sender, EventArgs e)
{
RadScheduler1.ExportToPdf();
}
Regards,
Peter
the Telerik team
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 their blog feed now.
0
Arvind
Top achievements
Rank 1
answered on 11 Jul 2012, 02:54 PM
Hi Peter,
Can you please pont me to a sample for the previous reply.
Also, opening in new window i meant is to open the generated PDF file directly as a PDF document(not in IE browser) without showing the File download dialog box to open it .Sorry for my mistake. Is this possible.
Thanks
Can you please pont me to a sample for the previous reply.
Also, opening in new window i meant is to open the generated PDF file directly as a PDF document(not in IE browser) without showing the File download dialog box to open it .Sorry for my mistake. Is this possible.
Thanks
0
Hi Arvind,
Attached is a sample of the solution suggested in the previous post.
As for the other requirement, I am not sure if or how it could be achieved.
Kind regards,
Peter
the Telerik team
Attached is a sample of the solution suggested in the previous post.
As for the other requirement, I am not sure if or how it could be achieved.
Kind regards,
Peter
the Telerik team
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 their blog feed now.