2 posts, 0 answers
  1. Ludwig
    Ludwig avatar
    22 posts
    Member since:
    Feb 2011

    Posted 24 May 2011 Link to this post

    I have a RadNumericUpDown control, with default value of 0.00; but I would like to do the following: when the user clicks in it: the cursor position is placed at the beginning and when the user types, it overwrites the value.  

    Can this be achieved?

    EDIT: in fact what I want is to put the RadNumericUpDown in overwrite mode. Can this be done?

    EDIT 2: for now I found this workaround,which puts it in overwrite model:

            private bool _lengthInputInsertActivated = false;
            private void LengthNumericUpDown_GotFocus(object sender, RoutedEventArgs e)
                if (!_lengthInputInsertActivated)
                    KeyEventArgs e1 = new KeyEventArgs(Keyboard.PrimaryDevice, Keyboard.PrimaryDevice.ActiveSource, 0, Key.Insert);
                    e1.RoutedEvent = Keyboard.KeyDownEvent;
                    _lengthInputInsertActivated = true;
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 27 May 2011 Link to this post

    Hello Ludwig,

    We are glad that you have resolved the issue yourself.

    We will be happy to assist you if you have any other questions about our controls.

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