Close form when user - InfoPath Dev
in

InfoPath Dev

Close form when user

Last post 11-20-2008 01:02 AM by sandhyapati. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-20-2008 12:55 AM

    Close form when user

    hi, can infopath handles close when user close the browser?

    in .net, we can use HandleOnClose() function if user close the browser.

     Does InfoPath provides the same function?

     

    Thanks..

  • 11-20-2008 01:02 AM In reply to

    Hi,

    you can use the following code for closing the form

    XDocument.View.Window.Close(true);

    if you want to close the whole InfoPath application you can use

    Application.ActiveWindow.Close();

    Thanks,
    Sandhya


Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.