473,385 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Rendering HTML

Hi all

I need to create an ASP.NET control that will allow me to do an HttpRequest,
parse the HTML and then render it in a thumbnail (sorta like a preview of a
site without browsing to it).

Managed code would be ideal, but after struggling to find help on doing this
in C#, I'm starting to doubt whether this can be done without the WebBrowser
Control or mshtml.dll.

Any help, tips or pointers would be greatly appreciated.

Thanks!
Cobus
Nov 15 '05 #1
4 2385
"Cobus Lombard" <co*****@hotmail.com> wrote in
news:ua**************@TK2MSFTNGP11.phx.gbl:
I need to create an ASP.NET control that will allow me to do an
HttpRequest, parse the HTML and then render it in a thumbnail (sorta
like a preview of a site without browsing to it).

Managed code would be ideal, but after struggling to find help on doing
this in C#, I'm starting to doubt whether this can be done without the
WebBrowser Control or mshtml.dll.


How else would you expect to render it?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 15 '05 #2
That's what I'd like to find out...

"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:Xn******************@127.0.0.1...
"Cobus Lombard" <co*****@hotmail.com> wrote in
news:ua**************@TK2MSFTNGP11.phx.gbl:
I need to create an ASP.NET control that will allow me to do an
HttpRequest, parse the HTML and then render it in a thumbnail (sorta
like a preview of a site without browsing to it).

Managed code would be ideal, but after struggling to find help on doing
this in C#, I'm starting to doubt whether this can be done without the
WebBrowser Control or mshtml.dll.


How else would you expect to render it?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Nov 15 '05 #3
"Cobus Lombard" <co*****@hotmail.com> wrote in news:ukqD9Z79DHA.3068
@tk2msftngp13.phx.gbl:
That's what I'd like to find out...


Bascially - you cant. You need something that will interpret the JS and
other. And only a browser will do that.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 15 '05 #4
"Cobus Lombard" <co*****@hotmail.com> wrote in news:ukqD9Z79DHA.3068
@tk2msftngp13.phx.gbl:
That's what I'd like to find out...


Bascially - you cant. You need something that will interpret the JS and
other. And only a browser will do that.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Christopher Benson-Manica | last post by:
I have the following document, at http://ataru.gomen.org/file/test.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head>...
4
by: Nacho Nachev | last post by:
Hello, AFIAK ASP.NET (1.1) uses a technology called 'Adpative Rendering' to output HTML that is compliant with the client browser or at least stick to HTML 4 specification or IE. This seems...
5
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever....
0
by: Jeff Morgan | last post by:
I have an application that runs on ASP.NET. We have been working through performance testing and it appears that at about 40-50 users, I start to get CPU bound. The application is a three form,...
3
by: ramesh | last post by:
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into...
0
by: Juan R. | last post by:
Since the idea of encoding mathematics using MathML is being very far from popular due to a number of factors -expensive tools, bad accesibility of generated code, unusual verbosity, lack of...
2
by: Giedrius | last post by:
hi, i have an idea to make admin tool on home computer, that would generate html files using some kind of templates and database data and put these generated html files to public web server, witch...
1
by: Ricardo Quintanilla G. | last post by:
how to override the rendering method of a whole asp.net applicaction? i want to not include spaces between html elements. As example, then rendering produce that: == == == == <html> <body>...
5
by: Andreas Bergmeier | last post by:
Hi. Does anybody know whether html rendering is available on page level? I know the xhtmlConformance setting in the web.config - but I'd like such a configurability on page level because I have...
1
by: =?Utf-8?B?TUNN?= | last post by:
Is it possible to have .NET controls render as HTML 4.01 Strict compliant? In web.config, there is xhtml conformance, but that does not provide an option for HTML 4.01.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.