Click here to Skip to main content
15,921,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I need a tool/ API / code that will give me entire response of particular URL.
I have tried to use Webclient and HTMLAgileUtility Package but it gives me only response that is shown in view source and not returns result that occurs after jquery/ web service is called in that site url.

Please some one tell me how to get entire response.

Regards,
Anu
Posted
Updated 10-Jul-13 22:56pm
v2

1 solution

Pages that will build up their content by loading it via AJAX calls are hard to handle. You can use a WebBrowser control and use that to fetch the page, but this will still not solve the problem in telling when the page has finally build up completely. When the basic page is finished with loading the DocumentCompleted event will fire, but that may not necessarily mean that all the content has been pulled via AJAX yet. You may still have to wait a bit longer before you can start pulling your data from the page.

Regards,
— Manfred
 
Share this answer
 
v2
Comments
AnujaBarad 11-Jul-13 6:12am    
Could you please elaborate?
Manfred Rudolf Bihy 11-Jul-13 7:21am    
Which part do you need support with?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900