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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 5.1.4 site downDNN 5.1.4 site down
Previous
 
Next
New Post
10/6/2009 4:26 PM
 

System.Web.Extensions contains MS AJAX.Net, not sure, why you are having troubles with it.

DNN comes with AJAX 1.0, which isn't installed automatically with ASP.Net 2.0 or later, but DNN 5.2 will require ASP.Net 3.5 SP1, which contains AJAX.Net 3.5 - this shouöd solve your issues.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/9/2010 4:01 PM
 
Hi Sebastian,

I have DNN install version 5.1.4 and modules with Ajax v3.5.  When I run the site, there's a script error "Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll".  When you said DNN comes with Ajax 1.0 and DNN 5.2 will contain Ajax 3.5, does this mean with my DNN 5.1.4, I have to get Ajax v1.0 and reference in my modules for it to not raise the script error?

Thanks.
 
New Post
7/9/2010 4:16 PM
 
I suggest upgrading to DNN 5.2.3, which is most stable DNN 5 atm. Make sure you are using .Net 3.5 and not 4.0 !

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/9/2010 6:23 PM
 
Hi Sebastian, thanks for you response.  I'm sorry I was wrong about my current DNN version.  It's actually already 05.04.01 (26).  In the host settings, I see that it's .NET framework 4.0.  In my ajax enabled user control, I have code on page_load like this
try
{
    if (DotNetNuke.Framework.AJAX.IsInstalled())
    {
        DotNetNuke.Framework.AJAX.RegisterScriptManager();
    }
}
catch (Exception ex)
{
    Exceptions.ProcessModuleLoadException(this, ex);
}

The page loads with script error "Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll." in the /DNN/ScriptResource.axd file.  I'm using controls from Ajax Control Toolkit binary version 3.5.  I read on the web that someone fixes it by replacing the traditional <asp:ScriptManager> tag with <asp:ToolkitScriptManager> tag.
But... since I'm hosting my module in DNN, I can't declare this statement in my ascx b/c DNN is automatically injecting the script manager already.  Am I getting the script error because DNN is injecting the traditional script manager  instead of the new <asp:ToolkitScriptManager> tag required by toolkit v3.5? 

The page ajax functionality actually works but I don't like the script error.  How do I fix this?
Thanks.
 
New Post
7/9/2010 7:13 PM
 
You know what? I just go back to the basic and do a fresh control with ajax update panel.  I didn't do the registerscriptmanager code behind nor include the tag <asp:ToolkitScriptManager> in the user control and it worked w/o script error, mysteriously... so I guess I don't have a problem anymore but I just want to response just in case someone is having same issue, just retry with simple controls first.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 5.1.4 site downDNN 5.1.4 site down


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