Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Sys.Webforms.PageRequestManager.getInstance()Sys.Webforms.PageRequestManager.getInstance()' is null or not an object
Previous
 
Next
New Post
7/9/2008 1:02 PM
 

I am using DotNetNuke 4.8.4 and Telerik RadGrid for ASP.NET Ajax and System.Web.Extensions V1.
- DotNetNuke.dll 4.8.4.2
- Telerik.Web.UI.dll 2008.01.0619.20
- System.Web.Extensions.dll 1.0.61231.0

My aspx is almost an exact copy of telerik's grid column editors example.

Problem:
- When DNN 4.8.4 Ajax is enabled:
  Host Settings > Other Settings > Enable Ajax? checked

- and I include a script manager control on the ASPX page:
  <asp:ScriptManager ID="ScriptManager" runat="server" />

- I get the following exception:
  System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page

- So I remove the ScriptManager control and I get javascript errors:
  'Sys.Webforms.PageRequestManager.getInstance()' is null or not an object

Solution:
I disabled DNN Ajax and included the script manager control on the aspx page. All works fine.

I would like to be able to enable DNN Ajax and still have the telerik controls work. I would also like to know why I receive javascript errors when I don't include the script manager control (I am assuming that DNN has added the script manager control from the previous exception - stating one already exists).

 
New Post
7/15/2008 1:39 PM
 

To fix the problem, In the module definition for each control I checked the Supports Partial Rendering option.

I was then able to 'Enable Ajax' in dnn and remove my <asp:ScriptManager... control from the ascx.

 
New Post
11/3/2008 10:36 AM
 

Hello Sarah D,

I am using Telerik RADGrid Control in DNN 4.9.0,i got the same problem what you mentioned above.so i I checked the Supports Partial Rendering option.its works fine but i am not able upload the files,for example i have upload image option inside my RADGrid.but i am not able to find the fileupload control.
 

Please advise.how to solve this problem

 

Thanks & Regards

Mani

 
New Post
7/7/2009 2:23 PM
 

I added the following tag in the <system.web> section of the config file and it worked

<xhtmlConformance mode="Transitional"/>

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Sys.Webforms.PageRequestManager.getInstance()Sys.Webforms.PageRequestManager.getInstance()' is null or not an object


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out