handle browser close & back event on server side? - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » handle browser close & back event on server side? handle browser close & back event on server side? Last post 01-05-2009 02:32 AM by Anuma. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 01-05-2009 01:44 AM jaiminsarda Joined on 06-24-2008 Posts 22 handle browser close & back event on server side? Reply Contact Hi All,Is there any way to capture/handle browser's close and back button event on server side?I don't want to use javascript for this.Can it be done in C# using server side objects?Thanks in advance,Jaimin Filed under: infopath 01-05-2009 02:32 AM In reply to Anuma Joined on 07-20-2005 India Posts 525 Re: handle browser close & back event on server side? Mark as Not AnswerMark as Answer... Reply Contact Hi, You don't have .close() or .Quite() in the infopath2007 code. So you need to use javascript to close the form. Verify below link. http://www.sharepointblogs.com/lovedjohnysmith/archive/2007/10/22/close-new-opened-infopath-form-automatically.aspx Otherwise select "Closeform" option in the submit options. Duble click on the button. Select "Submit" from action dropdown. Select Submit options button. Check "Allow users to Submit this form" check box. Select your data connction name from dropdown. Click on "Advanced" button. Select "Close the form" option from After submit dropdow. Click on ok. Anuma Chinthapalli /http://www.GGKTech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi All,Is there any way to capture/handle browser's close and back button event on server side?I don't want to use javascript for this.Can it be done in C# using server side objects?Thanks in advance,Jaimin
Hi,
You don't have .close() or .Quite() in the infopath2007 code. So you need to use javascript to close the form. Verify below link.
http://www.sharepointblogs.com/lovedjohnysmith/archive/2007/10/22/close-new-opened-infopath-form-automatically.aspx
Otherwise select "Closeform" option in the submit options.