Brian Mains
Top achievements
Rank 1
Brian Mains
asked on 07 Jan 2009, 10:24 PM
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.
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.
7 Answers, 1 is accepted
0
Accepted
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
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
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.
0
Brian Mains
Top achievements
Rank 1
answered on 08 Jan 2009, 03:14 PM
Hey,
That did work; I didn't see the JavaScript.
Thanks.
That did work; I didn't see the JavaScript.
Thanks.
0
Kyle Jones
Top achievements
Rank 1
answered on 22 Sep 2009, 10:05 PM
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?
0
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.
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.
0
Sotir
Top achievements
Rank 1
answered on 05 Feb 2012, 12:45 AM
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.
Thank you in advance.
0
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
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 >>
0
Sotir
Top achievements
Rank 1
answered on 16 Feb 2012, 03:56 PM
Yes, that did the trick.
Thank you.
Thank you.