Hi,
I need to do some custom stuff in the OnSubmitRequest
Eventhandler.
I added the eventhandler into the codefile like this:
[InfoPathEventHandler
(EventType=InfoPathEventType.OnSubmitRequest)]
public void OnSubmitRequest(DocReturnEvent e)
{...}
but when I do a 'Submit', it isn't triggered: The InfoPath
form is submitted directly to the Sharepoint DocLibrary
bypassing the business logic.
I assume that I forgot to do something (like registering
the event or so), but I don't know what (I tried to use
the 'useScriptHandler' element in the 'submit' element in
the .xsf file, but that didn't help).
Appreciate any help, tip.
Thanks for your help,
Dominic
Dominic Buschi - 21 Dec 2004 18:34 GMT
Found the solution in the meantime:
Instead of having the Submit going to Sharepoint(Tools-
>Submitting Forms), needs to go to 'Custom Submit using
Code'.
Cheers,
Dom
>-----Original Message-----
>Hi,
[quoted text clipped - 22 lines]
>
>.