title: how to close aspx page on button click after saving data in database
body: <p>I have one asp.net application having single page (x.aspx). It is few textbox, radio buttion etc and a button. On button click, I need to first save data into database with calling one web api and then close the page. Please note that this page is not popup. If I put RegisterOnSubmitStatement on page_load it closes the page but then button click does not fire. I tried RegisterclientScriptBlock, RegisterStartupScript but none of them works.</p>
  
  <p>Please suggest how to solve this issue. Thanks.</p>