close window wen button pressed - InfoPath Dev
in

InfoPath Dev

close window wen button pressed

Last post 01-23-2011 03:32 AM by omar fathallah. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-14-2011 04:50 AM

    close window wen button pressed

     am making a web browser from with an exit button in it, i dont want the form just to close, i want the whole window to close when the button is clicked.

  • 01-15-2011 06:07 AM In reply to

    Re: close window wen button pressed

    Hi Omar,

    I don't think the browser forms support this.

    Patrick Halstead
    Project Manager at Qdabra
  • 01-23-2011 03:32 AM In reply to

    Re: close window wen button pressed

    i made some code which actually closes the window but before the window closes there is an error appears for a second then the window closes, here is the code i wrote in the exit button:

    HttpContext.Current.Response.Write("<script>window.open('','_self','');window.close();</script>");

     

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