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...problems when use ajaxtoolkit in dotnetnukeproblems when use ajaxtoolkit in dotnetnuke
Previous
 
Next
New Post
5/13/2008 11:31 PM
 

When use ajax control toolkit in dotnetnuke have errors:

A critical error has occurred.
The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Help me!

Thank you!

 
New Post
5/14/2008 9:09 AM
 

you must add ScriptManager:

from Toolbox in  AJAX Extensions  tab  drag and drop  the  ScriptManager

 
New Post
5/14/2008 9:39 AM
 

I did a clean install of DNN4.8.2 yesterday and installed my ajax module yesterday. Everything was working like it should the DNN progress image was showing when processing. When I accessed the module this morning I was getting the above mentioned error. I have not changed anything in the dotnetnuke or server environment. I had to add the scriptmanager tags manually to get the module to atleast function. Could someone please help me, or to point me in a direction to start trouble shooting?

Thanks in advance

 
New Post
5/15/2008 1:46 AM
 

Ahmed wrote

you must add ScriptManager:

from Toolbox in  AJAX Extensions  tab  drag and drop  the  ScriptManager

I added ScriptManager but when I run website sometime have error

Then I remove ScriptManager --> No error

 

 
New Post
5/15/2008 1:54 AM
 

Wesley Fraser wrote

I did a clean install of DNN4.8.2 yesterday and installed my ajax module yesterday. Everything was working like it should the DNN progress image was showing when processing. When I accessed the module this morning I was getting the above mentioned error. I have not changed anything in the dotnetnuke or server environment. I had to add the scriptmanager tags manually to get the module to atleast function. Could someone please help me, or to point me in a direction to start trouble shooting?

Thanks in advance

We put this in our modules to make sure Ajax works correctly

To the OP, if you're getting errors, be sure you're on 4.8.2 as there is a pretty big bug fix for Ajax issues in 4.8.2

EDIT: cleaned up formatting issue with code

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if (DotNetNuke.Framework.AJAX.IsInstalled())
            {
                DotNetNuke.Framework.AJAX.RegisterScriptManager();
            }           
        }


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...problems when use ajaxtoolkit in dotnetnukeproblems when use ajaxtoolkit in dotnetnuke


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