Cal Export Error

2 posts, 0 answers
  1. david
    david avatar
    218 posts
    Member since:
    May 2007

    Posted 27 Aug 2015 Link to this post

    in the sample code at response.end call I get a script error in my .ascx

    Line: 885
    Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.


    private void WriteCalendar(string data)
        HttpResponse response = Page.Response;
        response.Buffer = true;
        response.ContentType = "text/calendar";
        response.ContentEncoding = Encoding.UTF8;
        response.Charset = "utf-8";
        response.AddHeader("Content-Disposition", "attachment;filename=\"RadSchedulerExport.ics\"");

  2. Aneliya Petkova
    Aneliya Petkova avatar
    207 posts

    Posted 28 Aug 2015 Link to this post

    Hi David,

    Are you using UpdatePanel or RadAjaxManager on your page? Please note that when exporting you must
    do full post-back to the server.

    Please check our "iCalendar Export" online demo, where you can see how we achieved this(script.js):

    Another suggestion for dealing with this error, you may find in the following link:

    Aneliya Petkova
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top