views:

508

answers:

1

I get more than 500 exceptions daily from ScriptResource.axd (ASP.NET website). It seems to comming from the Ajax Update Panel but I am not sure. Anyway, is it possible to fix these exceptions?

+2  A: 

There is one simple way, that might mean quite a lot of work depending on how far you've already gotten in your developement process, but will give you enough benefits for it to be worth the effort anyway: don't use the ASP.Net UpdatePanel.

Instead, take a look at jQuery with it's extensive ajax support. It will help you increase control over what you do, it will help you speed your site up (by a lot) and it will help you become better at client-side scripting.

Tomas Lycken
I never used to appreciate everyone responding with "use jQuery" every time a question involved javascript, even though I try not to use UpdatePanels because of all their limitations - however having just spent this last week really getting to grips with jQuery, I have to say it really does make your life easier :)
Zhaph - Ben Duguid