AJAX Control Toolkit is not defined in Firefox

I had a really confusing issue lately. I had a master page which was parenting a few pages in a website. The master page contained a reference to a ToolkitScriptManager. In one page I had a CalendarExtender which was targetting a textbox for the good old ubiquitous ‘pop-up’ calendar for selecting dates.

It worked flawlessly on one page but not on the other despite the fact that the code was near enough to identical. I tried everything. Removing the bin reference to the toolkit. Re adding the control from scratch etc etc etc., but to no avail, one page worked fine but on the other all AJAX functionality stopped (including the accordion control on the left that worked fine everywhere else. In Firefox the Error Console reported that AJAX Control Toolkit was undefined).

Because I was trying everything I removed the ToolkitScriptManager from the master page and replaced it with a standard ScriptManager. Viola, everything worked. I have no explanation for this, and at this point in time I have no time to research it further (I will do and post an update when I’ve had a chance to take a look).

For now, maybe it’s worth a try if you experience this issue.

Advertisements

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