RadNumericTextBox SelectionOnFocus Porblem

6 posts, 0 answers
  1. umut
    umut avatar
    11 posts
    Member since:
    Aug 2008

    Posted 11 Mar 2009 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 16 Mar 2009 Link to this post

    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.
  3. umut
    umut avatar
    11 posts
    Member since:
    Aug 2008

    Posted 16 Mar 2009 Link to this post

    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
  4. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 19 Mar 2009 Link to this post

    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.
  5. umut
    umut avatar
    11 posts
    Member since:
    Aug 2008

    Posted 20 Mar 2009 Link to this post

    Hi,
    I am using Telerik Radcontrols version 2008.3.1326.20 and Internet explorer 7.0. Thanks.

    Umut YILDIRIM
    BNB Consulting
  6. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 24 Mar 2009 Link to this post

    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.
Back to Top