Hi all,
I'm having trouble trying to get the client event "ValueChanged" of the RadNumericTextBox to fire when AllowOutOfRangeAutoCorrect is set to false. I have my RadNumericTextBox inside a GridTemplateColumn from the RadGrid. The JS function is never called.
Here's how my code looks like:
Thanks in advance!
Eric
I'm having trouble trying to get the client event "ValueChanged" of the RadNumericTextBox to fire when AllowOutOfRangeAutoCorrect is set to false. I have my RadNumericTextBox inside a GridTemplateColumn from the RadGrid. The JS function is never called.
Here's how my code looks like:
<telerik:GridTemplateColumn HeaderText="Qty" DataField="Quantity" UniqueName="Quantity"> <ItemTemplate> <telerik:RadNumericTextBox ID="quantity" runat="server" DataType="System.Int32" AllowOutOfRangeAutoCorrect="false" MinValue='<%# Decimal.Parse(Eval("MinimumQuantity").ToString()) %>' DbValue='<%# Convert.ToInt32(Eval("Quantity")) %>' Type="Number" SelectionOnFocus="SelectAll" NumberFormat-DecimalDigits="0"> <ClientEvents OnValueChanged="OnClientValueChanged" /> </telerik:RadNumericTextBox> </ItemTemplate> </telerik:GridTemplateColumn><script type="text/javascript"> function OnClientValueChanged(sender, args) {
alert("hello"); //do something }</script>Thanks in advance!
Eric