Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  problems when use ajaxtoolkit in dotnetnuke
Previous Previous
 
Next Next
New Post 5/13/2008 9:31 PM
User is offline DanNT
11 posts
10th Ranked


problems when use ajaxtoolkit in dotnetnuke 

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 7:09 AM
User is offline Ahmed
1 posts
10th Ranked


Re: problems when use ajaxtoolkit in dotnetnuke 

you must add ScriptManager:

from Toolbox in  AJAX Extensions  tab  drag and drop  the  ScriptManager

 
New Post 5/14/2008 7:39 AM
User is offline Wesley Fraser
5 posts
10th Ranked


Re: problems when use ajaxtoolkit in dotnetnuke 

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/14/2008 11:46 PM
User is offline DanNT
11 posts
10th Ranked


Re: problems when use ajaxtoolkit in dotnetnuke 

 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/14/2008 11:54 PM
User is offline Chris Hammond
2885 posts
engagesoftware.com
5th Ranked








Re: problems when use ajaxtoolkit in dotnetnuke 
Modified By Chris Hammond  on 5/15/2008 1:57:16 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
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  problems when use ajaxtoolkit in dotnetnuke
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP