javascript - Having difficulty closing a PopUP window, after update and submit button -


so, have javascript calls asp page, using showmodaldialog ... works great, passes correct information, user prompted radio button answer question, if user presses "submit" ... data written sql table. works; however, cannot window close. behavior program opens page (same content in window popup) full page size. when tried add following code: response.write("script language='javascript'?window.close();") ... same behavior message indicating program trying close window. frustrating because don't understand why closing window diffcult. please if can.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -