title: Hide the ASPxPopupControl from code behind
body: <p>I have added an ASPxPopupControl, which includes a Save Button, and I want to close it after saving a record.</p>
  
  <p>I tried the following:</p>
  
  <pre><code> string str = @"&lt;script language=""javascript"" type=""text/javascript""&gt;function HideEscalateAsk() {pcEscalteAsk.Hide();}&lt;/script&gt;";
                     Page.RegisterClientScriptBlock("ClientScript", str);
  </code></pre>
  
  <p>but it still doesn't work. How can I close the ASPxPopupControl?</p>