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

sys.webforms.pagerequestmanager

3 Answers 416 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Michael Cranford
Top achievements
Rank 1
Michael Cranford asked on 19 Mar 2009, 04:16 PM
I've seen one or two recent posts on this error, but no resolution.

I am using 2009 Q1 controls. Here is how I generate this error on my system here at work. I create a new Ajax-enabled web application. I make sure that the folder holding the site is designated as an application. I drag RadAjaxManager into the default page. I compile and bring up the page (on localhost) -- the javascript error "sys.webforms.pagerequestmanager is null or not an object" appears. (In more complex solutions, I have seen that this error prevents functioning of components like RadEditor.) It is entirely related to RadAjaxManager.

Now, I should mention that my computer at home, running the same application, does not have this error. So there is clearly something relating to my installation causing this, but it seems to be bothering other people as well. I have not been able to identify what the issue could be, it isn't anything obvious. What it means is that I do not have a way to develop Ajax-enabled sites using Telerik controls while at work. Which is not good.

3 Answers, 1 is accepted

Sort by
0
SamJ
Top achievements
Rank 1
answered on 22 Mar 2009, 12:52 AM
Hi Michael,

I couldn't replicate it on my side either (VS 2005). However, you can see if you receive this error if adding UpdatePanel instead of RadAjaxMaganer. Maybe reinstalling the .NET version, Visual Studio or the controls might help.

SamJ
0
wildyaker
Top achievements
Rank 2
answered on 12 Jun 2009, 10:12 PM

Yes it is quite annoying.  I don't get it with the old versions of Telerik Ajax (pre-RadControls for ASP.NET AJAX), but I do with both 2009 versions.  The error happens in the javascript here (line 834):

 
 
window[Sys.WebForms.PageRequestManager.getInstance()._uniqueIDToClientID(this._uniqueID)]=this;  
 
 
 

And just so you know this is coming from the RadAjaxManager.  However, the fix I have is to use the pre-RadControls for ASP.NET AJAX RadAjaxManager and it works great.  No issue.  So if you are getting this problem and have access to the older Telerik control I would go that route until they get it fixed.
0
Sebastian
Telerik team
answered on 15 Jun 2009, 07:47 AM
Hello guys,

This error is generated when the ASP.NET AJAX framework is not configured correctly and the PageRequestManager instance is not initialized and available during the loading phase. This is not dependent on the RadControls for ASP.NET AJAX version you use in your projects.

For more details I suggest you review the information from the following online resources:

http://forums.asp.net/p/1038782/1441161.aspx

http://www.telerik.com/help/aspnet-ajax/troubleshooting.html

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Michael Cranford
Top achievements
Rank 1
Answers by
SamJ
Top achievements
Rank 1
wildyaker
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or