How to close a tab from code behind?
<p>I want to close current tab from code behind as i want to perform some operation so after performing some operation it should be closed so please help me.. thanks in advance.</p>

<p>I tried it with</p>

<pre><code>function close_window() {
  if (confirm("Close Window?")) {
    close();
  }
}
</code></pre>

<p>but not able to call this method from code behind.</p>
