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

'Sys.WebForms.PageRequestManager' is null or not an object

1 Answer 180 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mangesh
Top achievements
Rank 1
Mangesh asked on 08 Jun 2009, 11:03 AM

Hi,

I am getting the above error on my page load.
I am using RadAjaxPanel and RadScriptManager in my page. I browsed for it on net and seems it essentially occurs when a page has UpdatePanel.
I was using inbulit server of Visual Studio for my application till date. I never got this error in development environment but my client is getting error "System.WebForm.PageRequestManagerParsorErrorException" intermittently on staging which I think is originated from this one.
Today, I set up IIS for my application and created virtual directory for it, and this error started occurring always on page load.
(I have already added entry for Telerik.Web.UI.WebResource.axd in HttpHandlers section of my web.config) 

I have already read "Eilon Lipton's Blog" and is of no use for me.

My scenario:
I have a grid which has a link in header having name "Add New". When user clicks on this link, new row gets added in the grid. I have RadDatePicker control in one of the columns in my grid. I am Ajaxifying my grid for this functionality.

Various things I tried from blogs are:

1. EnableEventValidation="false" in page directive
2.EnablePartialRendering="true" and LoadScriptsBeforeUI="true" in asp:ScriptManager.

Please help me in this if you have any idea.

Thanks and Regards,
Mangesh Gurav


1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 11 Jun 2009, 10:47 AM
Hello Mangesh,

Can you try the troubleshooting tips from this documenation topic to investigate the reason for this erratic behavior? You may also provide the complete stack trace of the error as it may shed some additional light on the subject and how to eliminate the exception you get.

Another thing you can try is move the grid outside of the ajax panel and put it in MS UpdatePanel/directly on the page and compare the results. Thus we can locate the origin of the issue and address it accordingly.

Kind 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
Grid
Asked by
Mangesh
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or