RadScheduler - PDF Export Function

6 posts, 0 answers
  1. Scott
    Scott avatar
    6 posts
    Member since:
    Mar 2012

    Posted 21 Apr 2015 Link to this post

    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


  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 24 Apr 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Scott
    Scott avatar
    6 posts
    Member since:
    Mar 2012

    Posted 24 Apr 2015 in reply to Hristo Valyavicharski Link to this post

    <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>
  5. Scott
    Scott avatar
    6 posts
    Member since:
    Mar 2012

    Posted 24 Apr 2015 in reply to Scott Link to this post

    Hristo,

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

     Thank you for taking a look.

    SB

  6. Scott
    Scott avatar
    6 posts
    Member since:
    Mar 2012

    Posted 28 Apr 2015 in reply to Scott Link to this post

    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

  7. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 29 Apr 2015 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017