Hello.
First you add a namespace.
using AjaxControlToolkit; (If you are using C#)
Here we intend to keep the popup open even after performing some task on the popup window. To achieve this, write a code to remain the popup open.
private void button1_Click(object sender, System.EventArgs e)
{
ModalPopupExtender.Show();
}
Once you task is achieved you can close it using ModalPopupExtender.Close();
Hope this will help you.