Managed Code: OnSubmitRequest doesn't fire

D

Dominic Buschi

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
 
D

Dominic Buschi

Found the solution in the meantime:
Instead of having the Submit going to Sharepoint(Tools-
 

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