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

Reverse RadNumericTextBox Arrow Keys

1 Answer 71 Views
Input
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 29 Sep 2011, 06:45 PM
I want to make the up arrow decrease the value, and the down arrow increase the value for an integer numeric updown control.  How can I accomplish this?  To put this in context, the column is SortOrder and it is sorted ascending.....I want the up arrow to move the item up in the list by decreasing the value.  I am using a text box because I also want the user to be able to change the value manually.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Sep 2011, 11:27 AM
Hello Benjamin,

You can set the IncrementSettings-Step value to some negative value. It will do the trick.

aspx:
<telerik:RadNumericTextBox ID="Numeric1" runat="server"  IncrementSettings-Step="-1" ShowSpinButtons="true">
</telerik:RadNumericTextBox>

Hope it helps :)

Regards,
Shinu.
Tags
Input
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or