Numeric TextBox cursor position

4 posts, 0 answers
  1. joshua odell
    joshua odell avatar
    30 posts
    Member since:
    Sep 2008

    Posted 13 Jan 2009 Link to this post

    I'm using the RadNumericUpDown in an application that requires several numeric inputs, about 20 on a single screen.
    I like the UpDown ability (being able to click an arrow up and down), however I also need the user to be able to just enter in some numbers.  Well I've run into an issue, and I'm wondring if it's expected behavior or a bug.

    if I highlight the text in the RadNumericUpDown box, and begin to type, lets say I type "200".  The first number gets intered ("2") but after that the cursor moves the the very far left, and the next number ("0") is entered to the left.  So what actually appears in the box is "002".  It appears to me as though you have to think in reverse to enter a number.  this seems counter intuitive.  Is this normal behavior or am i just missing a setting.  Here's the code I'm using

            <Style x:Key="Numbers" TargetType="{x:Type Tel:RadNumericUpDown}"
                <Setter Property="Width" Value="100"/> 
                <Setter Property="Margin" Value="10"/> 
                <Setter Property="Minimum" Value="0"/> 
                <Setter Property="FontSize" Value="12"/> 
                        <Tel:RadNumericUpDown Grid.Row="0" Grid.Column="1" Style="{StaticResource Numbers}" 
                                          ValueFormat="Numeric" IsEditable="True"  
                                          Minimum="0" Maximum="100000"  
                                          Value="{Binding Path=MaxPumpOutRate.DisplayValue}"></Tel:RadNumericUpDown> 

    in this example "MaxPumpOutRate" is my model object, and it has a property of type double named "DisplayValue"

    Thanks for any help
  2. Boyan
    Boyan avatar
    758 posts

    Posted 15 Jan 2009 Link to this post

    Hi Joshua ,

     Thank you for your report!

     We have to admit this is indeed a bug which have introduced recently. We will fix it in the next official release (Q1 2009). Please excuse us for the temporary inconvenience.

    I have updated your Telerik points for your report.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
  4. Ivan
    Ivan avatar
    7 posts
    Member since:
    Nov 2008

    Posted 23 Jan 2009 Link to this post

    Hi !
    I think i am having the same issue here . But instead of the cursor moving after introducing the first number, it moves after introducing three numbers .. Is this normal , or should I check some property in order to the cursor mantain its position ?

    Ivan Frias
  5. Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 24 Jan 2009 Link to this post

    Hello Ivan,

    Unfortunately there is no property for configuring the cursor position. We are working closely with our UX team to introduce the best behavior in our future release. Sorry for the inconvenience and feel free to share any recommendations and suggestions in future.

    Kind regards,
    Hristo Borisov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top