Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
How to run an url behind the scenes without displaying it in browser and get the another URL from the current URL?

Thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 23-Dec-13 17:38pm    
There is not such concept as "run an URL". What exactly do you want to do with it? Of course you can download and resource (say, a page) by URL without displaying it. (If has nothing to do with Ajax, as Solution 1 tells you; just forget it. Ajax is used on the client side only, but why?)
—SA

Please see my comment to the question. No matter what do you want to do, you can always download the pure data on the server side using any URL and process it the way you want without displaying it. All you need is the class System.Net.HttpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^].

—SA
 
Share this answer
 
Hey,

Just try for Ajax call. Its worked for me. Hope it will for you also.
 
Share this answer
 
Comments
lisalis 23-Dec-13 14:20pm    
Can you send me more information>

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