Click here to Skip to main content
13,195,379 members (60,530 online)
Rate this:
Please Sign up or sign in to vote.
i need to post to a form in a website, so am using the webbrowser control to load the web pages. the web pages sometimes have large textual content, like a blog that has large comments, and this takes more than 5-10 mins to load the pages.

are there any alternative solution for this, either to make the webpage load faster or use another method to load the pages

i have hear about using httpwebrequest or webclient to get the pages, and pass the stream to webbrowser control, so i can have all the cookies.

but am concerned about the javascript execution and cookies
Posted 1-Oct-12 18:43pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you just have to POST to the webpage, use HttpWebRequest to send to the web page.
You dont have to load the page. Build the input form, create the POST command yourself and send it to the server.
Has the webpage to be displayed to the user?
I cannot imagine a web page to load thaaat slow.
If it really does, probably try to use a 3rd party open source web control.

Greets, Markus

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171019.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100