Click here to Skip to main content
11,642,658 members (67,449 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 DamithSL 254
1 Sergey Alexandrovich Kryukov 204
2 OriginalGriff 160
3 Afzaal Ahmad Zeeshan 129
4 Mika Wendelius 85
0 Mika Wendelius 485
1 DamithSL 457
2 OriginalGriff 365
3 Afzaal Ahmad Zeeshan 258
4 Sergey Alexandrovich Kryukov 254

Advertise | Privacy | Mobile
Web02 | 2.8.150731.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