B
bjarnesl
Hi!
I am working on a project where we use XmlFormViewer to display
browser-editable Infopath form templates. The host controller (asp.net)
contains "next" and "previous" buttons, used to change the form(xsn location)
presented to the user. When a user presses one of these buttons, it is
desirable that the form submits its content to a sharepoint document library.
I have been able to perform this submittion by using the fields
change-event for each of the fields. This genereates a lot of traffic to the
server, so this method is not desirable.
I have tried putting the fields inside a "section"-control in infopath
designer, and submitting when the changed-event of this control is triggered.
This works fine when running the form locally on my computer, but when I use
the XmlFormView controller, it appears this event is never triggered.
How can I execute the "submit to document library" dataconnection when a
button is pressed in the hostcontroller? Or is it any other, simple, way of
performing this submittion?
I am working on a project where we use XmlFormViewer to display
browser-editable Infopath form templates. The host controller (asp.net)
contains "next" and "previous" buttons, used to change the form(xsn location)
presented to the user. When a user presses one of these buttons, it is
desirable that the form submits its content to a sharepoint document library.
I have been able to perform this submittion by using the fields
change-event for each of the fields. This genereates a lot of traffic to the
server, so this method is not desirable.
I have tried putting the fields inside a "section"-control in infopath
designer, and submitting when the changed-event of this control is triggered.
This works fine when running the form locally on my computer, but when I use
the XmlFormView controller, it appears this event is never triggered.
How can I execute the "submit to document library" dataconnection when a
button is pressed in the hostcontroller? Or is it any other, simple, way of
performing this submittion?