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

RadScheduler - PDF Export Function

5 Answers 70 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 21 Apr 2015, 07:56 PM

Hello,

 I've been going through the AJAX forums to see why the export function on RadScheduler would only generate the Title. It works perfectly on a local machine during development, but when attempted remotely, the title is only visible. I've removed update panels and AJAX containers so it can be processed via a full post back and rebind.

  Exporting via ICS file does work.

 Thanks

Scott B


5 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 24 Apr 2015, 03:41 PM
Hi Scott,

Can you paste your AJAX settings here. 

Thank you.

Regards,
Hristo Valyavicharski
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Scott
Top achievements
Rank 1
answered on 24 Apr 2015, 04:40 PM
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Bootstrap"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="Btn1Img">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnMyPDFButton">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnSearch">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ProfilePanel" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadCalendar1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="MainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
0
Scott
Top achievements
Rank 1
answered on 24 Apr 2015, 06:44 PM

Hristo,

That is the main section of Ajax related references within the page.

 Thank you for taking a look.

SB

0
Scott
Top achievements
Rank 1
answered on 28 Apr 2015, 12:45 PM

I used the fiddler tool to capture what was being sent from the server after the event was fired. The only difference so far is the character totals for the pdf file that sits behind a developmental firewall.

 SB

0
Hristo Valyavicharski
Telerik team
answered on 29 Apr 2015, 04:38 PM
Hi Scott,

It seems that it is not possible to ajaxify scheduler exporting. Here is the reason:

Internally the scheduler creates a new instance of a browser and makes a screenshot of the scheduler. After that it creates a new pdf file and send it from the server to the client via the response.BinaryWrite() method.

When you ajaxify the Scheduler and other controls you will post online their content back to the server. But the returned response will also contains the modified ajaxified controls. The responce will not contain the streamed pdf file:
http://screencast.com/t/0Jejbo5se

http://www.telerik.com/forums/radajax-with-response-write-to-download-string-into-a-excel-file

Regards,
Hristo Valyavicharski
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Scheduler
Asked by
Scott
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Scott
Top achievements
Rank 1
Share this question
or