Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Form Submission ,NET 2.0

Reply
Thread Tools

Form Submission ,NET 2.0

 
 
Thom Little
Guest
Posts: n/a
 
      01-13-2006
I have a NET 2.0 windows application that needs to send a "post" <form> to a
website. That website opens a new browser window when it receives the
command and establishes a dialog in that window.

The website requires "post" and not "get" so I can apparently not use a
query string.

Is there an example that shows how to submit a form through the
System.Windows.Form.WebBrowser control without any additional user
interaction? Is another solution preferable? What was the source of your
information?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--



 
Reply With Quote
 
 
 
 
Thom Little
Guest
Posts: n/a
 
      01-14-2006
The only solution I could come up with was ...

Windows application writes html page to a temporary file.
Windows application tells WebBrowser control to transfer to temporary file.
Temporary file uses JavaScript OnLoad to fire the script.
Windows application deletes temporary file(s) during program termination.

Is there a better solution that I am overlooking?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Thom Little" <> wrote in message
news:%...
>I have a NET 2.0 windows application that needs to send a "post" <form> to
>a website. That website opens a new browser window when it receives the
>command and establishes a dialog in that window.
>
> The website requires "post" and not "get" so I can apparently not use a
> query string.
>
> Is there an example that shows how to submit a form through the
> System.Windows.Form.WebBrowser control without any additional user
> interaction? Is another solution preferable? What was the source of your
> information?
>
> --
> -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
> --
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping Repeated Form Submission KV ASP .Net 2 04-28-2004 07:18 PM
duplicate form submission Boban Dragojlovic ASP .Net 2 02-03-2004 03:40 PM
Re: Offline Form Submission Tim Stephenson ASP .Net 0 10-15-2003 10:06 AM
(onetime) Form Submission Leon Shaw ASP .Net 1 08-15-2003 03:15 AM
Form Submission: Final URL that has form options included ?? Jared Javascript 5 07-10-2003 10:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57