asp.net error as "Too many characters in character literal"
<p>I am calling a javascript on index change of a DropDownList, i do as follows</p>

<pre><code>&lt;asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
OnSelectedIndexChanged="toggleVisibility('Button1');"&gt;
</code></pre>

<p>I get the error during compiling as for the above line of code</p>

<pre><code>Too many characters in character literal
</code></pre>

<p>Can anyone help me solve this issue?</p>
