Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Scheduler > Error when Exporting Appts.

Answered Error when Exporting Appts.

Feed from this thread
  • Brian Mains Master avatar

    Posted on Jan 7, 2009 (permalink)

    I'm getting the following error when trying to export data from the scheduler; this was working, I don't know what happened?  I copied the code from what you had on your example site directly: http://demos.telerik.com/aspnet-ajax/Scheduler/Examples/Export/DefaultCS.aspx

    The difference is that this control is an updated control (in an AJAX setting) whenever another control is updated...

    Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near 'BEGIN:VCALENDAR
    VER'.

    Any idea what the cause may be?

    Thanks.

    Reply

  • Answer Atanas Korchev Atanas Korchev admin's avatar

    Posted on Jan 8, 2009 (permalink)

    Hello Brian Mains,

    This error indicates that ajax is being made when the user clicks the export button instead of postback. Please check whether your are calling the Export function

    <script type="text/javascript">
     function Export(sender, e)
     {
         $find("<%= RadAjaxManager1.ClientID %>").__doPostBack(sender.name, "");
     }
    </script>

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Brian Mains Master avatar

    Posted on Jan 8, 2009 (permalink)

    Hey,

    That did work; I didn't see the JavaScript.

    Thanks.

    Reply

  • Posted on Sep 22, 2009 (permalink)

    I am receiving the same error but my RadAjaxManager is on my Master Page.  How do I call the Manager from my Source page so that the code will work properly?

    Reply

  • Peter Peter admin's avatar

    Posted on Sep 24, 2009 (permalink)

    Hi Kyle,

    Add an AJAX Manager Proxy to your source page and use it the same way you would use RadAjaxManager.


    All the best,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • Sotir avatar

    Posted on Feb 4, 2012 (permalink)

    Hello, I am trying to perform the same thing with the difference that i have my scheduler on a "ascx" user control which i then call on a page that has a master page. I am keep getting that error. I have already a RadManagerProxy on the page but how can i use it from the control "ascx"? Is there another way to set enableAjax = false when exporting to iCalendar?

    Thank you in advance.

    Reply

  • Peter Peter admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hello Sotir,

    You can find the client object of RadAjaxManager in the user control with the following code -

    $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>")

    The rest of the implementation would be the same as with the iCalendar export demo.


    Greetings,
    Peter
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

  • Sotir avatar

    Posted on Feb 16, 2012 (permalink)

    Yes, that did the trick.

    Thank you.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Scheduler > Error when Exporting Appts.
Related resources for "Error when Exporting Appts."

ASP.NET Scheduler Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial ]