or
Hi,
I'm currently using the usercontrl edit form and I would like to have this function in javascript
if the value of the rdbBillable= 1
then enable some of the textboxes
else
disable the text boxes
The problem is when I place the javascript inside the ascx page, the it complaints that there is no javascript (Microsoft JScript runtime error: Object expected), but then if I put in the aspx page, it also complaint for this line
radio = $find(
'<%= rdbBillable.ClientID %>');
Compiler Error Message: CS0103: The name 'rdbBillable' does not exist in the current context.
Thanks
Vinh Vu
<telerik:RadNumericTextBox runat="server" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
IncrementSettings-InterceptMouseWheel="true" ID="TotalAmountText" Width="300px"
Label="Total Amount:" />
<asp:RequiredFieldValidator runat="server" ID="TotalAmountRequiredFieldValidator"Regards,
ControlToValidate="TotalAmountText" EnableClientScript="true" Display="None"
CssClass="rsValidatorMsg" />


<t:RadButton ID="rbtnGenerateReport" runat="server" Text="Generate Report" Font-Bold="true" />