close window wen button pressed - InfoPath Dev Sign in | Join | Help in InfoPath 2010 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 » InfoPath 2010 » close window wen button pressed 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: Oldest to newest Newest to oldest Previous Next 01-14-2011 04:50 AM omar fathallah Joined on 01-09-2011 Posts 5 close window wen button pressed Reply Contact 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 Patrick Halstead Joined on 08-07-2006 Posts 5,112 Re: close window wen button pressed Mark as Not AnswerMark as Answer... Reply Contact Hi Omar, I don't think the browser forms support this. Patrick HalsteadProject Manager at Qdabra 01-23-2011 03:32 AM In reply to omar fathallah Joined on 01-09-2011 Posts 5 Re: close window wen button pressed Mark as Not AnswerMark as Answer... Reply Contact 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.
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.
Hi Omar,
I don't think the browser forms support this.
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: