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

Binding percent value to RadNumericTextbox

1 Answer 184 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James Hacking
Top achievements
Rank 1
James Hacking asked on 02 Nov 2010, 02:59 PM
Hi,

I store inflation percentages as values between 0-1 in my database (e.g. 0.03 would equal 3%) and use a DataFormatString to display the data correctly in the gird- {0:#.#%}.

Whilst this works for displaying the percentages in the grid, I use RadNumericTextBoxes in a popup edit form and set the type to Percent but the values are being displayed as 0.03. Is there any way to format the NumericTextboxes to display the values in the same way as the grid?

Thanks

JH

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Nov 2010, 07:04 PM
Hello James,

Please examine the following forum thread which elaborates on this matter and let me know if it helps to achieve your goal:
http://www.telerik.com/community/forums/aspnet-ajax/input/percentage-numerictextbox-possible-bind-display-format-difference.aspx

Greetings,
Pavlina
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
Tags
Grid
Asked by
James Hacking
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or