AjaxPanel Visual Studio 2010 issue

8 posts, 0 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 12 Mar 2010 Link to this post

    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> 
     
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 12 Mar 2010 Link to this post

    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.
  3. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 12 Mar 2010 Link to this post

    Dev
  4. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 15 Mar 2010 Link to this post

    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.
  5. Ben Thies
    Ben Thies avatar
    5 posts
    Member since:
    Aug 2009

    Posted 14 Apr 2010 Link to this post

    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.
  6. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 15 Apr 2010 Link to this post

    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.
  7. Ben Thies
    Ben Thies avatar
    5 posts
    Member since:
    Aug 2009

    Posted 20 Apr 2010 Link to this post

    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.
  8. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 20 Apr 2010 Link to this post

    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.
Back to Top