View Single Post
 
Old September 23rd, 2009, 01:44 AM
arnabghosh arnabghosh is offline
Friend of Wrox
Points: 686, Level: 9
Points: 686, Level: 9 Points: 686, Level: 9 Points: 686, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Kolkata, West Bengal, India.
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default reading & validating url content

Hi,

I have an option of having a text box where I type a url and a submit button in a aspx page. When I submit the page, on Postback the validity of the url needs to be checked through C# code-behind & not javascript. If the url is valid, then read the contents of the url and display it in a div.


Can any one please provide code for doing this. Any urgent help would be appreciable.

Thanks in advance.