Error - Sys.WebForms.PageRequestManager is null

11 posts, 0 answers
  1. Jacky Chau
    Jacky Chau avatar
    108 posts
    Member since:
    Jun 2005

    Posted 27 Feb 2008 Link to this post

    Spent about 3 hours trying to figure this error out.  I am converting an existing .NET 2.0 website to .NET 3.5 w/ Prometheus.  After the conversion, I keep getting a javascript error: "Sys.WebForms.PageRequestManager is null" when loading a page with RadAjaxManager.  This was caused by my web.config having the line:

    <xhtmlConformance mode="Legacy"/>  

    The website was originally .NET 1.0 and when converting from VS2003 to VS2005, that line is automatically injected into the web.config.  By removing it, ASP.NET AJAX will work fine.  Just thought I let people know in case they run into the same issue. 
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Feb 2008 Link to this post

    Hi Jacky,

    Thank you very much for this post. I have updated your telerik points.

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe
    Joe avatar
    48 posts
    Member since:
    Dec 2007

    Posted 14 Apr 2008 Link to this post

    <xhtmlConformance mode="Legacy"/>  

    Good one, I've run across this a couple of times now.
  5. repairclinic
    repairclinic avatar
    4 posts
    Member since:
    Aug 2006

    Posted 25 Apr 2008 Link to this post

    Thank you for posting this! 

    I was having a ton of trouble getting the AJAX functionality to work.  I was getting a lot of page errors and very strange AJAX behavior.

    I would suggest Telerik should add a note about this in the General Troubleshooting section of the documentation for the RadAjax control section.

    Thanks again.  If I could give you Telerik points I'd give you a bunch :-)
  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Apr 2008 Link to this post

    Hi repairclinic,

    This is already logged in our TODO list and would be available in the Q1 SP1 release.

    Kind regards,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Brian Seekford
    Brian Seekford avatar
    5 posts
    Member since:
    Oct 2006

    Posted 05 May 2008 Link to this post

    You saved me a lot of time. I appreciate you contributing this.
  8. Ken Pespisa
    Ken Pespisa avatar
    20 posts
    Member since:
    Sep 2005

    Posted 06 Jun 2008 Link to this post

    Jacky, thank you for posting this!  You just saved me a few hours of debugging!
  9. Farhad Billimoria
    Farhad Billimoria avatar
    15 posts
    Member since:
    Sep 2007

    Posted 02 Sep 2008 Link to this post

    I have same problem.
    I use .net 2.0
    Telerik : RadControls for ASPNET AJAX Q1 2008

    Do you have a service pack for ASPNET AJAX Q1 2008  ?

    thanks
  10. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 02 Sep 2008 Link to this post

    Hello Farhad,

    Have you removed the xhtmlConformance tag from your web.config file as discussed down in this thread? Additionally, note that the latest version of RadControls for ASP.NET AJAX is Q2 2008 SP1 (2008.2.826) and you can upgrade to it following the instructions from this KB article.

    Greetings,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. Farhad Billimoria
    Farhad Billimoria avatar
    15 posts
    Member since:
    Sep 2007

    Posted 02 Sep 2008 Link to this post

    hi Stephen
    To begin with, I did not find any xhtmlConformance  tag in my web.config file.

    I cannot install new telerik version on all our servers just like that.

    I need to find a fix for this version that I am using..
    Do you have a service pack for RadControls for ASPNET AJAX Q1 2008 ?

    thanks
    Farhad
  12. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 02 Sep 2008 Link to this post

    Hi Farhad,

    The issue discussed in this thread is due to the xhtmlConformance tag in the web.config file. If the reason for the erratic behavior in your case is different, verify that your web site is AJAX-enabled and has the proper configuration settings added. You may also refer to the following article from the documentation concerning troubleshooting techniques.

    Kind regards,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017