I have an existing VS2012 web application that works fine until I added the latest AjaxControlToolkit (7.0123). Initially, I found that the installation violated the behavior of UpdatePanel - then, before I could refresh the page after asynchronous post-back without repeating the operation, I found that after installation the update would repeat the previous operation (I think that post-back was no longer asynchronous) .
Then I noticed that at some point in the past I commented on a few default JavaScript files that were added to a new ASP.NET Web Forms application, so I tried to add them back. This led to the exception:
'MsAjaxBundle' is not a valid script name. The name must end with '.js'.
Then I tried to replace the standard <asp:ScriptManager .../> with <ajaxControlToolkit:ToolkitScriptManager .../> , which led to a new exception
Failed to load file or assembly "System.Web" or one of the dependencies. The system cannot find the specified file.
For convenience, I created a new ASP.NET Web Forms application (VS2012, Update 2) and launched it. No mistakes. Using "nuget", I added AjaxControlToolkit v7.0123 (latest version). Run the application again and I will get the original exception again:
'MsAjaxBundle' is not a valid script name. The name must end with '.js'.
Again I replaced <asp:ScriptManager .../> with <ajaxControlToolkit:ToolkitScriptManager .../> , and again this leads to
Failed to load file or assembly "System.Web" or one of the dependencies. The system cannot find the specified file.
Can someone shed some light on what else I need to do to solve this problem? I can not find any documentation to say that something needs to be changed manually when adding tools.
Thanks,
Martin robins
source share