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

RadNumericUpDown Format text during editing

2 Answers 244 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 01 Feb 2018, 11:54 AM

Is there a way to format a text being edited of RadNumericUpDown text? 

For example, to show thousands white-space separator like 1 000 when user in a textbox actually is entering 1000

GridViewDataColumn has DataFormatString property which formats entered text after edit is finished, but we want to format it dynamically during editing when textbox focus is not lost and user keeps typing

 

Thanks

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 06 Feb 2018, 09:52 AM
Hi Vladimir,

Currently, applying such string format is not supported by RadNumericUpDown. This is logged as a feature request, but is not yet planned for development. You can track the relevant item in our Feedback Portal: Provide an option to set custom StringFormat for the Value of RadNumericUpDown when not in edit mode.

As an alternative, I can suggest you using the RadMaskedNumericInput component as it exposes the FormatString property for such purposes. Would this be feasible for you?

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Vladimir
Top achievements
Rank 1
answered on 13 Feb 2018, 10:46 AM

Yes, Stefan, 

 

RadMaskedNumericInput is what we replaced with and it worked for us.

 

Thanks a lot

Tags
NumericUpDown
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Vladimir
Top achievements
Rank 1
Share this question
or