I have a Radgrid that when the EditCommandColumn button is clicked I load a WebUserControl.
<EditFormSettings UserControlName="BudgetItemControl.ascx" EditFormType="WebUserControl">
<EditColumn UniqueName="EditCommandColumn1">
</EditColumn>
<PopUpSettings Modal="false" />
</EditFormSettings>
On the WebUserControlI have the following bound field...
<telerik:RadNumericTextBox ID="txtQty" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Qty") %>' DisabledStyle-
BackColor="Transparent"
EmptyMessage="Enter qty" Enabled="true" Font-Names="Arial" Font-Size="Small" ForeColor="#666699" MinValue="0"
RenderMode="Lightweight"
Skin="Silk" TabIndex="7" Type="Number" Value="0" Width="190px" Visible="true"
onkeyup="javascript: onChange();" onkeypress="return isFloatNumber(this,event);" >
On the form with the grid I have the javascript OnChange() event
when I try to get_value
var txt=$find("<%= RadGrid1.ClientID%>").get_masterTableView().get_dataItems()[1].findControl("txtqty")
I receive the following error: Cannot read property 'findControl' of undefined.
I can get the value when using an asp control.
var txt1 = document.getElementById("TextBox2").value; (THIS WORKS)
How can I get the RadNumericTextBox value?