Asp.net Ajax: Close Window After Ajax Call?
I'm using ASP.NET Ajax. How can I tell the browser to close the current window after the server call finishes (server-side code)? I managed to do this using the ASP.NET Ajax's Scri
Solution 1:
If I understood you right, registering window.close()
with ScriptManagers
RegisterStartupScript
method on event handler should work. For details on using ScriptManager.RegisterStartupScript
see MSDN
Post a Comment for "Asp.net Ajax: Close Window After Ajax Call?"