Telerik UI for WinForms
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WinForms
This is a migrated thread and some comments may be shown as answers.
GridViewMaskBoxColumn
2 Answers
50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
thien nluong
Top achievements
Rank 1
thien nluong
asked on
06 Jun 2011,
04:20 AM
I want to show currency like '9.999,99' in GridViewMaskBoxColumn
it mean "." is
Thousand separator and "," is
Decimal point
it same RadMaskedEditBox with 'Culture' property = new System.Globalization.CultureInfo("vi-VN");
How to do it with GridViewMaskBoxColumn ?
Thanks & Best regards
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on
06 Jun 2011,
08:31 AM
Hello,
For displaying the values like this you just have to set the
FormatInfo
and the
FormatString
for the column, like so:
column.FormatInfo = CultureInfo.CurrentUICulture;
column.FormatString =
"{0:#,0.00}"
;
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
Telerik WinForms MVP
Add a comment
Submit comment
Cancel
0
thien nluong
Top achievements
Rank 1
answered on
06 Jun 2011,
12:09 PM
It worked. Thank you very much :D
Best Regards
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
GridView
Asked by
thien nluong
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
thien nluong
Top achievements
Rank 1
Share this question
or
Copy link