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...Building ExtensionsBuilding ExtensionsModulesModulesError with ScriptManager when trying to use Auto Complete ExtenderError with ScriptManager when trying to use Auto Complete Extender
Previous
 
Next
New Post
3/13/2010 11:19 PM
 
Go to social.codplex.com and look for the source for the WebControls module. In it you will find the autocompleteextender.ascx and .vb. It is used in the VivoSearch module for reference.

Jeff Smith
VivoWare, Inc. - Open Source Social Networking Modules for DNN.
 
New Post
3/26/2010 12:31 AM
 

I am also trying to use AJAXControlToolKit with DNN. Looiking like DNN does not support AJAXControlToolKit natively.
I have found a work arround and working for me.

Step1:

As it is not natively supported by DNN, so you need to modify DNN default.aspx page, unless you can figure out how to it from your DNN module. I am still trying to figure out this.

At the top of the page:

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


Inside Form control, just after <dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" >

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

Step2:

Remove all ScriptManager from your module control (ascx and from code behind files).

Compile and run, all will be good as GOLD.

 
New Post
3/26/2010 2:24 AM
 

Seems like this is the DNN issue with the new AspNetAjaxLibrary.
If you use older AJAXControlToolKit then DNN is ok. But the work arround I have given in my previous post, it should do the trick (but golden rule "Never modify the core", unless you can change it by your module core, dynamically, during runtime).

Further investigation has given me more clear picture about current DNN. I have looked at the DNN AJAX framework library, which is adding "ScriptManager" and found

'''''''''''''''''''''''''''''''''''
Public Shared Sub RegisterScriptManager()
            If Not IsEnabled() Then
                HttpContext.Current.Items.Add("System.Web.UI.ScriptManager", True)
            End If
End Sub

'''''''''''''''''''''''''''''''

which is clearly telling me, current DNN does not support new AspNetAjaxLibrary (System.Web.Ajax.dll, AjaxControlToolkit.dll version 3.0.31106.0), as currently it is getting reference from ASPNETAJAXExt3.5 (System.Web.Extensions, Version=3.5.0.0)

Not too sure what is the best way to over come this issue, for new AspNetAjaxLibrary "RegisterScriptManager" method should do following

HttpContext.Current.Items.Add("System.Web.UI.AjaxScriptManager", true);
HttpContext.Current.Items.Add("AjaxControlToolkit.ToolkitScriptManager", true);

           
Possible solutions:

1. Change "RegisterScriptManager" method
2. Create your old method and use it in your module
3. From your module dynamically remove "System.Web.UI.ScriptManager" and add "System.Web.UI.AjaxScriptManager" or "AjaxControlToolkit.ToolkitScriptManager"

Really like to hear from DNN.
                  

 
New Post
3/26/2010 6:15 AM
 

I have spent lots of times and I tried lots of different ways, few of them are working, but none of them without modifing code. Looking like private method from core handling this, so could not found a way to override from my module code.

 
New Post
5/6/2010 3:48 PM
 
Jeff,

I downloaded the source for the webcontrols module at codeplex, but I'm not seeing the autocompleteextender.ascx (or vb).

The zip that I downloaded is v02.02.02.00 is that the correct version?

- Joe

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesError with ScriptManager when trying to use Auto Complete ExtenderError with ScriptManager when trying to use Auto Complete Extender


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