![]() The one we need is MicrosoftAjaxApplicationServices.js, let's download it and add to ToolkitScriptManager scripts: As you can see, in ASP.NET AJAX 4.0 Microsoft has split MicrosoftAjax.js in a lot of smaller files. If that's the case, lets take a look at Microsoft AJAX CDN for ASP.NET AJAX 3.5 and ASP.NET AJAX 4.0. Judging by the first error message, this script should be the one from ASP.NET AJAX 4.0 scripts. The MicrosoftAjax.js referenced by ToolkitScriptManager has a lot less content than the one referenced by ScriptManager. Here are the headers of interesting one: // Name: MicrosoftAjax.js I made a quick comparison of scripts referenced by ScriptManager and ToolkitScriptManager. So something must be wrong with JavaScript's emitted by manager. Any attempt to login resulted in 'object doesn't support this property or method' message. It happens that this project is using for login and logout operations. The message is pretty clear, so I replaced ScriptManager with ToolkitScriptManager: Īfter that change everything seemed to work just fine, until I decided to log in. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll. Ensure the correct version of the scripts are referenced. AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |