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

RadNumericTextBox SelectionOnFocus Porblem

5 Answers 78 Views
Input
This is a migrated thread and some comments may be shown as answers.
umut
Top achievements
Rank 1
umut asked on 11 Mar 2009, 01:19 PM
Hi, 

    I have a problem with RadNumericTextBox. I use RNTB in an item template of a detail table with the initial value of 0. When the user starts to input values, the '0' does not disappear. In other words, when RTNB gets focus, its text does not get selected. The SelectionOnFocus property set to SelectAll in the aspx. I even give the property in ItemCreated event but the problem does not changed. I tried to do it OnFocus client side event with "sender.SelectAllText()"  but it didn't solve my problem either.
 The strange thing is that when i use RadTextBox instead of RNTB the SelectionOnFocus property works quite well. I can use RTB with a custom Validator, but then what will be the benefit of RNTB.
 Any help would be appreciated. Thanks.

Umut YILDIRIM    
BNB Consulting

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 16 Mar 2009, 03:08 PM
Hello Umut,

Please download the attached sample website and let me know how to reproduce the mentioned issue.

Kind regards,
Daniel
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
umut
Top achievements
Rank 1
answered on 16 Mar 2009, 03:35 PM
Hi,

Thanks for the reply. Unfortunately my problem still occurs. When i click edit, the textbox appears, and when i click on it, the cursor gets to the beginning and the 0 or 1 still there, but not selected.

Umut YILDIRIM
BNB Consulting
0
Daniel
Telerik team
answered on 19 Mar 2009, 04:47 PM
Hello Umut,

Which version of RadControls and which browser is used in your scenario? Please let me know whether the problem persist with the latest release.

Regards,
Daniel
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
umut
Top achievements
Rank 1
answered on 20 Mar 2009, 07:29 AM
Hi,
I am using Telerik Radcontrols version 2008.3.1326.20 and Internet explorer 7.0. Thanks.

Umut YILDIRIM
BNB Consulting
0
Daniel
Telerik team
answered on 24 Mar 2009, 01:18 PM
Hello Umut,

I'm afraid I'm unable to reproduce this behavior. Please attach a stripped version of your project to formal support ticket. In this way we will be able to provide more to-the-point answer.

Kind regards,
Daniel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Input
Asked by
umut
Top achievements
Rank 1
Answers by
Daniel
Telerik team
umut
Top achievements
Rank 1
Share this question
or