I have 7 radnumerictextboxes and all using OnvalueChanged client event where it calculates the total amount when value changed
the problem is when I hit the tab (keyboard) button to go to the next textbox the cursor inside the textbox start blinks very fast and prevent me from entering number;
the problem is when I hit the tab (keyboard) button to go to the next textbox the cursor inside the textbox start blinks very fast and prevent me from entering number;
| <telerik:RadNumericTextBox ID="txtPositionApprovedY1" Runat="server" Width="50px" |
| Skin="Sunset" DataType="System.Int32" EmptyMessage="----" > |
| <DisabledStyle BackColor="#EEEEEE" /> |
| <ClientEvents OnValueChanged="PositionApprovedChanged" /> |
| <EnabledStyle HorizontalAlign="Center" /> |
| <NumberFormat DecimalDigits="0" /> |
| </telerik:RadNumericTextBox> |
| function PositionApprovedChanged(sender, args) { |
| var txtTotalApproved = $("div #divComplement [id$='txtTotalApproved']")[0].control; |
| var totalApproved = null; |
| for (var index = 1; index <= 7; index++) { |
| var txtPositionApproved = $("div #divComplement [id$='txtPositionApprovedY" + index + "']")[0].control |
| totalApproved += ConvertStringToInt(txtPositionApproved.get_value()); |
| } |
| if (totalApproved == 0) { |
| totalApproved = null; |
| } |
| txtTotalApproved.set_value(totalApproved); |
| } |