Submit Form Using Code...

J

Jason Richmeier

How can I submit a form using managed code?

If I generate an event handler for the Submit event, a comment that states
"If the submit operation is successful, set e.CancelableArgs.Cancel = false;"
is generated inside the handler.

How do I know whether the submit operation is successful?

Does anyone have any code samples to submit the form?

Thank you in advance,

Jason Richmeier
 
K

Karthik

Hi Jason,

What exactly you mean by submitting is successful? According to me submit is
successful whenever the form is exactly doing what you wished for. So here
success is abstract. Since you are using using the submit event, you can
incorporate your logic in the event and if the steps are exactly followed in
the event, then it means that submission is successful.

Thanks & regards,
Karthik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top