Monthly Archives: July 2009

ASP.NET MVC returning 302 (Found) HTTP status code on unauthorized Ajax calls instead of 401(Unauthorized) like classic ASP.NET

Classic ASP.NET On classic ASP.NET when calling a [WebMethod] with Ajax in an unauthorized context (most likely in the case where the session expired) the response http status code is 401. You can handle this in the “error” handler (provided … Continue reading

Posted in AJAX, JavaScript | 14 Comments

Why aren’t my third party Ajax controls showing correctly in a ASP.NET MVC page ?

I was setting up a Ext JS grid and the rendering was wrong : It was a CSS conflict between default ASP.NET CSS and Ext JS CSS. After commenting out all table related styles from Site.css the grid pager is … Continue reading

Posted in ASP.NET MVC, CSS | Tagged | 1 Comment