This is a migrated thread and some comments may be shown as answers.

RadNumericTextBox blinking on Tab press

4 Answers 89 Views
Input
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 29 Apr 2010, 05:41 PM
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; 


<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);  
 

4 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 30 Apr 2010, 03:33 PM
Where are you guys we really need help on this issue; Thanks
0
Veli
Telerik team
answered on 04 May 2010, 10:17 AM
Hi Sam,

I cannot reproduce this scenario. Attaching a  test page. Can you modify it and let us know how we can reproduce what you are getting?

Best wishes,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sam
Top achievements
Rank 1
answered on 12 May 2010, 03:47 PM
I am using Telerik.web.UI version 2009.3.1103.35  I can fix the problem by setting the RadNumericTextBox attribute SelectionOnFocus to None. the default is All
0
Veli
Telerik team
answered on 13 May 2010, 09:14 AM
Hello Sam,

The default value of the SelectionOnFocus property is None for each RadInput control. This means the input will behave like a standard asp:TextBox control when focused and will not try to adjust the selection or cursor position.

Regards,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Veli
Telerik team
Share this question
or