I need to get data from a site programatically using WebClient in ASP.NET. This website loads data by sending an ASP.NET Ajax
request (using ASP.NET ScriptManager
) to the server. Try selecting an geographical state and then click show on the page. Paging operations are also performed using ASP.NET Ajax.
I have analyzed the request very carefully using Firebug in Firefox and trying to replicate this request on hurl.it. I have added all post parameters
and Request Headers
that I think useful. But no luck. I am always getting following response.
"179|error|500|The page is performing an async postback but the
ScriptManager.SupportsPartialRendering property is set to false.
Ensure that the property is set to true during an async postback.|"
Is that really not possible to making stand alone ajax requests..?
If possible then please tell me what I am missing. You can see what I have done here
Remember, I do not own this website. So I do not access to any server-side code of this site.