Error getting string parameter from c# to Javascript
<p>i have in ma aspx page this code:</p>

<pre><code>&lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
    &lt;ContentTemplate&gt;
        &lt;script type="text/javascript"&gt;
            Sys.Application.add_load(show_modal);
         &lt;/script&gt;
&lt;/ContentTemplate&gt;
</code></pre>

<p></p>

<p>the JavaScript function is taking a parameter string ;</p>

<p>In my c# code behind i run this code :</p>

<pre><code>           ClientScript.RegisterStartupScript(GetType(), "",
                                           BLL_Deplacement.UpdateStatut(currendId, false)
                                               ? "show_modal('true');"
                                               : "show_modal('false');", true);
</code></pre>

<p>When debuguing my Javascript code, the parameter 'true' or 'false' is recieved like this:</p>

<pre><code>_Application { _disposableObjects=[0], _components={...}, _createdComponents=[0], more...}
</code></pre>

<p>Any help to get a string value to my javascript function ?
many thanks.</p>
