How do i submit a webform without a button?

  • Thread starter Thread starter Darren Clark
  • Start date Start date
D

Darren Clark

My question is more for how to access the data when it is submited..

eg..

We have a flash game that when a user clicks the register button... it will call some javascript on the web form...

From there.. the javascript will simply run document.forms[0].submit()

this is all good and works fine.

HOWEVER, since i dont have a button click to work with... how can i access the data on the server?

is there a HTMLFORM.Submit even that i can wire up in code behind?
Or do i have to simple check for isPostBack ? and then access everything using request.form and request.querystirng type method.


thanx in advance
 
Do some study of HTML controls and raising the onserverclick event.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

My question is more for how to access the data when it is submited..

eg..

We have a flash game that when a user clicks the register button... it
will call some javascript on the web form...

From there.. the javascript will simply run document.forms[0].submit()

this is all good and works fine.

HOWEVER, since i dont have a button click to work with... how can i
access the data on the server?

is there a HTMLFORM.Submit even that i can wire up in code behind?
Or do i have to simple check for isPostBack ? and then access everything
using request.form and request.querystirng type method.


thanx in advance
 
Back
Top