handle browser close & back event on server side? - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 01-05-2009 01:44 AM

    handle browser close & back event on server side?

     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:
  • 01-05-2009 02:32 AM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: handle browser close & back event on server side?

    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.

    1. Duble click on the button.
    2. Select "Submit" from action dropdown.
    3. Select Submit options button.
    4. Check "Allow users to Submit this form" check box.
    5. Select your data connction name from dropdown.
    6. Click on "Advanced" button.
    7. Select "Close the form" option from After submit dropdow.
    8. 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.