N
Nick Head
I am using SP-1 and the VS.Net Toolkit to write some managed event handlers. I am still learning how managed Infopath code works so please bear with me if this is a dumb question
I am trying to hook up the OnSaveRequest event, but I can't see where within InfoPath I should set it up. If I go to Tools > Programming I see OnLoad, On Context Change, On Switch Views, and On Sign, but there is no mention of OnSave. I assume I can't just write the event handler directly into my form code, as the event source isn't aware of it. So how do I hook this up?
As point of interest, whereabouts in the xsn solution are these event handlers actually hooked up with the event sources? e.g. if I set an OnClick event for a button, how does the form know that my OnClick event handler is supposed to be invoked?
Many thanks
Nick
I am trying to hook up the OnSaveRequest event, but I can't see where within InfoPath I should set it up. If I go to Tools > Programming I see OnLoad, On Context Change, On Switch Views, and On Sign, but there is no mention of OnSave. I assume I can't just write the event handler directly into my form code, as the event source isn't aware of it. So how do I hook this up?
As point of interest, whereabouts in the xsn solution are these event handlers actually hooked up with the event sources? e.g. if I set an OnClick event for a button, how does the form know that my OnClick event handler is supposed to be invoked?
Many thanks
Nick