Hi, I know its a common error. But I'm stuck with it.
I have an Asp.net 4.0 aplication. When I add an AjaxControlToolkit version 3.5 or 4.1.5 it gives me an error in deployment that couldn't load the assembly. When I publish using AjaxControlToolkit version 4.1.60919.0 don't give me any error but it just simply not working.
I'm using ToolkitScriptManager and ajax components are calendarextender and maskededitextender.
In my local machine its working fine. What could it be? I already added an Redirect
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.30930.28736" newVersion="4.1.60919.0" />
</dependentAssembly
Like that.
And
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
I'm always registering
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
Im missing something. But don't know what.
Another thing that just happened. I'm CopyLocal the dll. And Setting Specific Version = true; If I put Specific Version = false; it gives me the error that the Ajax don't exist.
Thanks in advance.