how to detect when a page is called using ajax in asp.net mvc ?
Why does it matter? It shouldn't. Are you really trying to do content negotiation?