Contents tagged with extensionmethods
- 
HttpRequest Using IsAjax & IsJson Extension MethodsAlthough the ScriptManager has a property named IsInAsyncPostBack to determine an AJAX call, the control is scoped to the page it is contained in. If writing code in a custom HTTP module, what if I need to know in the BeginRequest event whether the current request is AJAX or JSON?