Hi All,
I have a infopath 2007 form where I am trying to close the form programatically in C#. I was using this.Submit() to close the form on click of a button.
Now I have changed all the connections to the UDC Library and this function to close the form stopped working. Although there is no relation to the this.Submit() and the UDC Library, it is the only change that I have done.
I can use the Rule to close the form, but it is closing the form before the code behind code is getting called, which inturn is calling an event handler.
Alteast is there a way we could ensure that all data is properly passed to the event handler before the form is getting closed?
Can anyone throw some light on what could be done to rectify this issue?
Thanks a lot in advance :)
Regards Sridhar