Click here to Skip to main content
11,715,022 members (65,280 online)
Rate this: bad
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
0 Sergey Alexandrovich Kryukov 530
1 Richard MacCutchan 275
2 Maciej Los 259
3 ManasKumarM 155
4 Frankie-C 115
0 Sergey Alexandrovich Kryukov 775
1 CHill60 415
2 Richard MacCutchan 405
3 Maciej Los 389
4 OriginalGriff 320

Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2015
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