Archive
Posts Tagged ‘close aspx page’
Closing Aspx page on PostBack by suppressing close confirmation
Hi,
Below is the code to close the current .aspx page in the Postback (i.e., On Button click) without “Close” confirmation dialog
// Close the window with no close confirmation
Response.Write(“<script language=’javascript’> { window.open(”, ‘_self’, ”); window.close(); }</script>”);
Hope it helps 🙂
Advertisement
Categories: Misc
Tags: asp.net, close aspx page, close confirmation message, close window, JScript
Stats
- 1,580,256 hits
Tweets
- RT @MikeFactorial: Big things are coming to the #CoEStarterKit. So, @ManuelaPichler_ and team are building the tension for the April releas… 2 weeks ago
- New blog post : Boost conversations using GPT in Power Virtual Agent (PVA) rajeevpentyala.com/2023/03/08/pow… 2 weeks ago
- RT @PPDevWeekly: 🔥 Going Live: Power Platform Dev Weekly 155 bit.ly/PPDevWeekly155 This week's cover story by @RajeevPentyala With gre… 2 weeks ago
- RT @caseyburke21: Pipelines is now generally available! Huge congratulations to the team and all who have supported reaching this milestone… 3 weeks ago
- New blog post : Call Dataverse actions directly in power-fx rajeevpentyala.com/2023/03/01/ste… 3 weeks ago
Join 405 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Power Apps | Show pop ups in Canvas App
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS
- Power Platform - Pass json collection from Canvas App to Power Automate
- [Log4net] Exception while reading ConfigurationSettings
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Power Automate Flows | 'Callback Registration Expander' System Jobs stuck at 'Waiting For Resources'
- [Step by Step] Postman tool with Microsoft Dataverse Web API
- Azure DevOps (ADO) | Pipeline failure | You need the Git 'GenericContribute' permission