Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 1st, 2004, 01:08 AM
Authorized User
 
Join Date: May 2004
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Default grab the rendered source

I want to grab the rendered source programatically, exactly the one which the user can see by right cliking on the page and selecting 'view source' from the dropdown menu in IE. This i want
to do in .NET Windows or console application. Is there a way out in the .NET framework? You can refer me any link(s) on the web if you wish. I'll greatly appreciate help in this regard.

thankyou

BaburMan
__________________
BaburMan
 
Old November 1st, 2004, 10:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

I think this is what you are talking about: http://www.dotnetjohn.com/articles.aspx?articleid=93.

Brian
 
Old November 2nd, 2004, 12:40 AM
Authorized User
 
Join Date: May 2004
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:Originally posted by bmains
 Hey,

I think this is what you are talking about: http://www.dotnetjohn.com/articles.aspx?articleid=93.

Brian



Well, this is really a good help for me as for the screen scraping directly from the web is concerned. I hope it will be really useful at some other situation. Perhaps i couldn't correctly explain the problem. Let me explain it in some details. In fact there are two issues: 1- I want to add a menu option to the shortcut menu (of IE) which appears when a user right-clicks on a web page in the browser window. 2- My added menu option, when clicked, will grab the rendered
source of that page and later on i will use this source for some other purposes, may be i will save it in a database and will show it off-line later on but this is not important. I guess we have to use windows APIs or may be there are specific namespaces for both of these purposes.






BaburMan





Similar Threads
Thread Thread Starter Forum Replies Last Post
The html rendered by controls... philthy BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 October 23rd, 2008 04:23 PM
Problem with dynamically rendered radio buttons daddyunit Javascript 1 January 19th, 2006 04:41 AM
Grab the rendered source baburman General .NET 0 November 4th, 2004 12:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.