Using AJAX ScriptManager under Sitecore

This one came from one of my colleagues. If you are having trouble implementing asp.net Ajax using the asp:ScriptManager in a Sitecore website, you should check for the following:

  • Add the /scriptresource.axd to the IgnoreUrlPrefixes setting in your web.config.
    (one of the symptoms that the settings is required is that you get a “Sys is undefined” script error)
  • Add the path to your webservice to the IgnoreUrlPrefixes setting in your web.config
    If the path to the web service is /components/MyComponent/MyService.asmx, you should add this path as well.
Advertisements

About briancaos

Developer at Pentia A/S since 2003. Have developed Web Applications using Sitecore Since Sitecore 4.1.
This entry was posted in c#, Sitecore 6 and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s