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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Difficulty with latest AjaxControlToolkitDifficulty with latest AjaxControlToolkit
Previous
 
Next
New Post
7/16/2010 6:39 PM
 
I need help with this too. None of my ajax controls are being displayed. 

Using VS 2k10, DNN 5.4.4,  .net 4.0, Toolkit File Version: 3.5.40412.2 

I keep getting the
"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"
message displayed as a script error.

I've confirmed that IIS is using .net 4.0 for the site in IIS and in the host settings.

I've tried it with and without

If DotNetNuke.Framework.AJAX.IsInstalled Then

    DotNetNuke.Framework.AJAX.RegisterScriptManager()

End If

in the code-behind.


Can anyone shed some light onto why Ajax doesn't seem to be working anymore in DNN?
 
New Post
7/17/2010 12:59 AM
 

Hi,

Work around. This is not a best but will work (would be great to add the ref to default.aspx page from the module code)

Steps:
 
1. Download attached AjaxControlToolkit.dll_ and rename it to AjaxControlToolkit.dll and put into the DNN bin folder. Or you can download a copy of it from the microsoft site, upto you.
 
2. Open your DNN module project and add reference to the above AjaxControlToolkit.dll and build your project (depends on your project setup, your dll will be copied to DNN bin folder). I have noticed following changes in main web.config file
 
<dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
 
 
3. As DNN is using its own ScriptManager rather than the ToolkitScriptManager, so the work arround for it (not a best option, unless dynamically you can do it from your module code, have not found enough time to play with this):
 
 - open DNN default.aspx page and add following code
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
 
just after  <dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" >
 
4. Delete any web.config from you module folder, which is under "DesktopModules".
5. Open DNN website and load your module, it should work.
 
Hope this helps.

******************************************
Regards
Latiful Khan

 
New Post
11/3/2010 7:36 PM
 
Hi Latiful,
I tried your method of modifying the default.aspx page but it didn't work.  It would complain that only one ScriptManager could be added to the page.  I guess since DNN automatically adds a scriptmanager block already on all page load.  I'm using DNN 5.5.1.  Which one are you using?  that could be the difference.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Difficulty with latest AjaxControlToolkitDifficulty with latest AjaxControlToolkit


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