Sunday, March 21, 2010

Changed event in browser-enabled InfoPath form

I have designed an InfoPath form and added managed code to the changed event for a field. This works in the client preview. However, after deploying as a browser-enabled form, my changed event never triggered.


The reason is quite obvious. The form requires a postback to execute our managed code in the changed event. To realize this, you need to modify the postback settings of your control.


PostBackSettings