Posted on 05/01/2015 09:33:08
Hej Mikkel,
Thanks allot for the post :-)
This is what I am trying to do:
Trying to make a ajax request one like here: http://websiteudvikler.dk/post/howto-implement-an-ajax-based-shopping-experience-in-dynamicweb-ecommerce.html
Attempt detecting Ajax like this:
var aj = System.Web.HttpContext.Current.Request["ajax"];
var ServerRequestAjax = System.Web.HttpContext.Current.Request["Server:Request.ajax"];
and trying to detect if this request is Ajax, format the content specifically for this request. (so that I could pass only what I need in Ajax return html)
When I am attempt detecting Ajax, in my case aj and ServerRequestAjax are null