Error when Exporting Appts.

8 posts, 1 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 07 Jan 2009 Link to this post

    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.
  2. Answer
    Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 08 Jan 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 08 Jan 2009 Link to this post

    Hey,

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

    Thanks.
  5. Kyle Jones
    Kyle Jones avatar
    30 posts
    Member since:
    Jul 2009

    Posted 22 Sep 2009 Link to this post

    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?
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 Sep 2009 Link to this post

    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.
  7. Sotir
    Sotir avatar
    4 posts
    Member since:
    Jan 2010

    Posted 04 Feb 2012 Link to this post

    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.
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 08 Feb 2012 Link to this post

    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 >>
  9. Sotir
    Sotir avatar
    4 posts
    Member since:
    Jan 2010

    Posted 16 Feb 2012 Link to this post

    Yes, that did the trick.

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