Using AJAX inside a custom user control
I'm developing some custom pieces for a Sitefinity site as custom user controls that are added to Sitefinity pages. I have a modal popup extender from the AJAX control toolkit that works in my dev environment, on the live site in an empty template, but not in the actual templates they need to use. It's using the toolkit ScriptManager
<
ajaxToolkit:ToolkitScriptManager
runat
=
"server"
ID
=
"ToolkitScriptManager1"
></
ajaxToolkit:ToolkitScriptManager
>
As I was continuing to debug I noticed that if I put a Google Analytics Script Widget on the template it will break my AJAX. That's at least one thing the breaks it, so I guess the questions are why and how do I work around it?
Hi,
We have responded to you in the support thread you have open on this issue, please check our response there. For your convenience we're also pasting the response below:
".. we have tried reproducing the issue on several local projects but the behavior has been consistently working. Can you please create a test project using our latest officially supported version Sitefinity 4.4 and check if the issue reproduces there as well? I have recorded a sample video demonstrating the steps we're taking to inspect the issue, please do not hesitate to let me know if we might be missing something.
"
Greetings,
Boyan Barnev
the Telerik team
The issue ended up being javascript coding errors in the Google Analytics script we were using, not the Google Analytics widget itself. We have no issues if we insert a Google Analytics widget with no code.