how to get correct ClientID
<p>update:
asp.net</p>

<pre><code>&lt;asp:RadioButtonList runat="server" ID="rbl" RepeatDirection="Horizontal"&gt;
    &lt;asp:ListItem Text="None" Value="0" Selected="True" Enabled="true" /&gt;
    &lt;asp:ListItem Text="Float" Value="1" Selected="False" Enabled="true" /&gt;
    &lt;asp:ListItem Text="Float1" Value="2" Selected="False" Enabled="true" /&gt;
    &lt;asp:ListItem Text="Center" Value="3" Selected="False" Enabled="false" /&gt;
&lt;/asp:RadioButtonList&gt;
</code></pre>

<p>when i view the source this is what it is rendering:</p>

<pre><code>$('#ctl00_ctl00_ContentMain_rbl').hover(         
    function (){
        $('#div1').dialog({title: "some title"});
        $('#div1').dialog('open');
    }
);
</code></pre>

<p>the correct clientid is: <code>ctl00_ctl00_ContentMain_rbl_0, ctl00_ctl00_ContentMain_rbl_1, ctl00_ctl00_ContentMain_rbl_2</code></p>

<p>the code does not work and it did not give me the correct ClientID name when i try to read it... what is the other way round for this problem, define class name ???</p>

<pre><code>   $('#&lt;%= rbl.ClientID %&gt;').hover(   
            function (){
                $('#div1').dialog({title: "Float Images Left"});
                $('#div1').dialog('open');
            }            );
</code></pre>
