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

Error - Sys.WebForms.PageRequestManager is null

10 Answers 242 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jacky Chau
Top achievements
Rank 1
Jacky Chau asked on 27 Feb 2008, 09:49 PM

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. 

10 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Feb 2008, 07:30 AM
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
0
Joe
Top achievements
Rank 2
answered on 14 Apr 2008, 06:03 PM
<xhtmlConformance mode="Legacy"/>  

Good one, I've run across this a couple of times now.
0
repairclinic
Top achievements
Rank 1
answered on 25 Apr 2008, 12:59 PM
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 :-)
0
Steve
Telerik team
answered on 25 Apr 2008, 01:05 PM
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
0
Brian Seekford
Top achievements
Rank 1
answered on 05 May 2008, 03:20 PM
You saved me a lot of time. I appreciate you contributing this.
0
Ken Pespisa
Top achievements
Rank 2
answered on 07 Jun 2008, 02:42 AM
Jacky, thank you for posting this!  You just saved me a few hours of debugging!
0
Farhad Billimoria
Top achievements
Rank 1
answered on 02 Sep 2008, 07:21 AM
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
0
Sebastian
Telerik team
answered on 02 Sep 2008, 07:27 AM
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.
0
Farhad Billimoria
Top achievements
Rank 1
answered on 02 Sep 2008, 12:47 PM
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
0
Sebastian
Telerik team
answered on 02 Sep 2008, 01:47 PM
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.
Tags
Ajax
Asked by
Jacky Chau
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Joe
Top achievements
Rank 2
repairclinic
Top achievements
Rank 1
Steve
Telerik team
Brian Seekford
Top achievements
Rank 1
Ken Pespisa
Top achievements
Rank 2
Farhad Billimoria
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or