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

[Solved] radNumericTextbox Formatted Value

1 Answer 288 Views
Input
This is a migrated thread and some comments may be shown as answers.
Brian Doner
Top achievements
Rank 1
Brian Doner asked on 19 Feb 2008, 07:15 PM
I have a radNumericTextbox set as currency. In codebehind, when I get the .Text value, it contains only the numeric part, which is correct. But is there any way to get the formatted value of the textbox including the dollar symbol? That way, when the culture changes, the appropriate format is adjusted.

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 20 Feb 2008, 12:03 PM
Hello Brian Doner,

This functionality is not supported out-of-the-box. Still, you can get the currency symbol like this:

RadNumericTextBox1.Culture.NumberFormat.CurrencySymbol 

and you use it to customize the output on the server as appropriate.


All the best,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
Brian Doner
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or