This fix does not apply to DNN 4.8.2 or greater, 4.8.2 has a fix for the issue
yesterday I posted that I had found a fix for the issues with the Ajax ScriptManager issues that have been occuring with DNN 4.7 and greater.
Well here it is! It's not pretty, but from my testing so far it appears to fix the problems I've been having here on www.ChrisHammond.com
THIS IS ONLY A TEMPORARY FIX. Please use this at your own risk, I provide it here just as am immediate fix that worked for me, test in your environment before making production changes!
To use this fix you're going to have to recompile the DotNetNuke Source package you can download from www.dotnetnuke.com. I've only tested this with 4.8.1 source, but I don't believe there should be any issues if you're trying to recompile 4.7.0 or 4.8.0. Here are the two files you need to make changes to.
source/library/components/framework/Ajax.vb
Line #148
Public Shared Sub RegisterScriptManager()
If Not IsEnabled() Then
AddScriptManager(m_Page)
End If
End Sub
'ADDED THE FOLLOWING FOR THE FIX
Public Shared Sub RegisterScriptManager(ByVal objPage As Page)
If Not IsEnabled() Then
AddScriptManager(objPage)
End If
End Sub
source/website/default.aspx.vb
Line #209
'register page with AJAX
'AJAX.RegisterPage(Me)
AJAX.RegisterScriptManager(Me)
Once you make these changes and recompile, you should get a new DotNetNuke.Dll file, I grabbed the one out of my source/library/bin folder, and deployed that to the BIN folder on my production website. I also copied the default.aspx.vb file to the root of my production website.
When you compile you can compile in debug or release mode, I chose to compile in release mode.
If you have any questions feel free to post them here.
This fix does not apply to DNN 4.8.2 or greater, 4.8.2 has a fix for the issue