How to close the dialog itself from the code behind?
===

I create a dialog with in .aspx. This dialog is to update something and show the progress and I want it close automatically when  the update is done. So can I close the dialog from the c# code without clicking the "Ok" or "Cancel" button when something is done?

Thank you