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
Karthik - 16 Apr 2007 14:02 GMT
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