Javascript

Can you remove all javascript that is added by asp.net?

I’m not sure if you stepped on a few toes, but I find .NET’s javascripts to be very poorly coded. Unfortunately I know of no way to remove them. I have simply steered clear of using controls bound to those features (validators, some UI controls, etc.)

Every once in awhile, they come in really handy and I try to look the other way to how badly they screw up accessibility (and in some cases usability too).

Yes you can!


Response.Clear();

:lol:

Minimally, the only JavaScript it automagically adds is the __doPostback function. Just steer clear of ASP.NET AJAX in general, and any server controls that pump out their own.

Cheers,
D.

Perhaps ASP.NET MVC is your huckaberry?

Do you personally use ASP.NET MVC?

I’ve been known to . . .