document.getElementById with ClientID for UserControl
<p>I have written the following JavaScript code as below</p>

<pre><code>function confirmCallBackFn(arg)
{
    if (arg == true)
    {
        document.getElementById('#&lt;%=txtOne.ClientID %&gt;').disabled = true;
    }
}    
</code></pre>

<p>In page view source I get as below   </p>

<pre><code>document.getElementById('#ctl00_ContentPlaceHolder1_MyUser1_MyContainer1_txtOne').disabled = true;
</code></pre>

<p>The <code>txtOne</code> textbox does not get disabled.</p>

<p><strong>EDIT</strong> ***************************************************************</p>

<p>The following is the code I am using for RadNumericTextBox</p>

<pre><code>&lt;telerik:RadNumericTextBox ID="txtOne" runat="server" MaxValue="1440" MinValue="0"
                                                Width="35px" AutoPostBack="true" OnTextChanged="txtOne_TextChanged"&gt;
                                                &lt;%--Value='&lt;%# (int)Eval("MyValue") %&gt;'--%&gt;
                                                &lt;NumberFormat DecimalDigits="0" /&gt;
                                            &lt;/telerik:RadNumericTextBox&gt;
</code></pre>

<p>Checkbox1_checkedchanged event is as follows</p>

<pre><code>protected void checkbox1_CheckedChanged(object sender, EventArgs e)
{
    radWindowManager.RadConfirm("Are you sure you want to clear controls?", "confirmCallBackFn", 300, 100, null, "");
}
</code></pre>