Hi there
I wonder if anybody can give me some advice about getting the Ajax Control Toolkit working in a DotNetNuke module?
Specifically, I have a DNN 5.02 installation using .NET3.5, into which I have an ASCX control loaded as a DNN module. The problem is, although I have the Control Toolkit installed into DNN as recommended, my AnimationExtender is not working, and I am thinking that it is because DNN is using its own ScriptManager rather than the ToolkitScriptManager control that is part of the Ajax Control Toolkit. I have tried adding the ToolkitScriptManager control to my DNN module, but this has two unfortunate effects:
1. The ASP.NET code for the ASCX control shows an error when I have the DNN website open in Visual Studio 2005:
This project references a prior version of System.Web.Extensions version 1.0.61025. To use ... AnimationExtender, you must ... replace the reference ... with version 3.5.0.0 or higher
(it says this even though I have 3.5.0.0 of AjaxControlToolkit.dll, System.Web.Extensions and System.Web.Extensions.Design installed in the GAC, and have removed all references to version 1.0.61025 in web.config for the DNN site)
2. When the module is added to a page, the module fails to load, with the error:
Object reference not set to an instance of an object at DotNetNuke.UI.Containers.ActionBase.getActionRoot()
Presumably this is because DNN fails to load ToolkitScriptManager, and I believe the AnimationExtender will not work with the standard ScriptManager, though please correct me if I am wrong about this. So the question is: how do I add the ToolkitScriptManager into a DotNetNuke module, without it fouling up the module? Or should the AnimationExtender work even with the standard ScriptManager native to DNN? Thanks very much for any guidance!
Regards