This is a migrated thread and some comments may be shown as answers.

AjaxPanel Visual Studio 2010 issue

7 Answers 108 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 12 Mar 2010, 01:53 PM
This one is pretty simple.
I have the following aspx page. All I do is redirect to any other page in reponse to a button click and there is crash deep in the javascript someplace. I am using the RadControls_for_ASP.NET_AJAX_2010_1_309 release.
Here is the text of the error message ( plase note the strange character at the end. That IS part of the message):

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 '?'. 




 
Partial Class Junk0  
    Inherits System.Web.UI.Page  
 
    Protected Sub cmdButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdButton1.Click  
        Response.Redirect("~/Junk2.aspx")  
    End Sub  
End Class 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Junk0.aspx.vb" Inherits="Junk0" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" > 
        </telerik:RadScriptManager> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        </telerik:RadAjaxManager> 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1">  
            <asp:Label ID="Label3" runat="server" SkinId="None"  width="150"/>  
            <asp:Button ID="cmdButton1" runat="server" Text="Button" /> 
        </telerik:RadAjaxPanel> 
        <telerik:RadAjaxLoadingPanel id="LoadingPanel1" runat="server" Width="256px" Height="64px"   
            MinDisplayTime="250" InitialDelayTime="250" IsSticky="True">  
            <asp:Label ID="lblProgress" runat="server"/>  
            <asp:Label ID="lblProcessing" runat="server"/>Processing ...  
        </telerik:RadAjaxLoadingPanel>      
      
    </div> 
    </form> 
</body> 
</html> 
 

7 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 12 Mar 2010, 04:28 PM
Hi Ed,

Could you please specify if you are using trial or dev version of the RadControls for ASP.NET AJAX? 

Sincerely yours,
Iana
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Ed Staffin
Top achievements
Rank 1
answered on 12 Mar 2010, 04:39 PM
Dev
0
Pavel
Telerik team
answered on 15 Mar 2010, 10:23 AM
Hi Ed,

We've investigated the issue further and it seems it is related to RadCompression. I have forwarded this information to our developers for further investigation. As a workaround you can use the Redirect() method of the RadAjaxPanel to redirect the page which seems to be working as expected in this scenario. Please excuse us for the temporary inconvenience.

Regards,
Pavel
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Ben Thies
Top achievements
Rank 1
answered on 14 Apr 2010, 05:13 AM
Hi Pavel,

We have just migrated to Visual Studio 2010 and have the same problem. Do you know when a fix is expected, as the suggested workaround is not ideal for us.

Thanks,

Ben.
0
Pavel
Telerik team
answered on 15 Apr 2010, 12:59 PM
Hello Ben,

The problem turned out to be caused by an issue in the .Net 4.0 Framework. Our developers have implemented a workaround for it, until the guys from Microsoft can provide a fix. You can try our official Q1 2010 Service Pack 1 which will be released later today and should work as expected in this scenario.

Greetings,
Pavel
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Ben Thies
Top achievements
Rank 1
answered on 20 Apr 2010, 07:31 AM
Hi Pavel,

I have updated the RadControls to the latest version (RadControls_for_ASP.NET_AJAX_2010_1_415_dev).

However, I am still getting the same error.

I have removed RadCompression from our web.config for now, which has fixed the problem, however that isn't a long term solution.

Thanks,

Ben.
0
Pavel
Telerik team
answered on 20 Apr 2010, 09:03 AM
Hi Ben,

In this case you may be facing a different issue. Please provide more details about it so we can investigate it further. You may consider opening a support ticket and attaching to it a simple example which replicates the error.

Best wishes,
Pavel
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Ed Staffin
Top achievements
Rank 1
Pavel
Telerik team
Ben Thies
Top achievements
Rank 1
Share this question
or