Probelm with closing panel
<p>i got a asp.net page  that hold DGV on the top , and panel with CollapsiblePanelExtender, in this panel i hold textbox, button etc'..when one of my function there (update/delete/insert) is finish, i want that the panel will close automatically.
i got function in javascript:</p>

<pre><code>  function hidePanel() {
        $get("&lt;%= Panel1.ClientID%&gt;").style.display = 'none';
        return false;
    }
</code></pre>

<p>i try to use it with :</p>

<pre><code>ScriptManager.RegisterStartupScript(this, typeof(string), "Hide", "hidePanel();", true);
</code></pre>

<p>its close the upper side of the page that hold DGV, ןnstead of closing the panel,
any suggestion why is not working???</p>
