Reputation: 6693
I am trying to use a Handler for AJAX. So the idea is that my JQuery sends a $.get
request to the Handler but I am having some trouble capturing the request.
var example = Request.QueryString["getParam"].ToString();
Returns:
The name 'Request' does not exist in the current context
Is there a specific way I can capture the Request in a Handler?
Upvotes: 0
Views: 66
Reputation: 34180
var example = context.Request.QueryString["getParam"].ToString();
Upvotes: 4