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

Add IsUndoEnabled property

1 Answer 114 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
PaulR
Top achievements
Rank 1
PaulR asked on 05 Oct 2016, 03:23 AM

We would like to disable the Undo feature of the underlying TextBox in the RadNumericUpDown control.

It interferes with our global Ctrl+Z undo command when the RadNumericUpDown is keyboard focused.

Thanks.

 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 Oct 2016, 08:22 AM
Hi Paul,

What we could suggest you is by using the ChildrenOfType method to find the TextBox placed inside the Template of RadNumericUpDown and set its IsUndoEnabled method to false.

Please, check the attached sample that demonstrates that.

Hope this helps.

Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
NumericUpDown
Asked by
PaulR
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or