Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Formatting
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Numeric Formatting
Miscellaneous
Thread ID:
01296186
Message ID:
01296186
Views:
68
With regular textboxes I'm using formatting with DataBindings.Add() and it's working very well.

With my own textbox columns in grids, I want to achieve the same simple and consistent formatting (i.e. C, D, G, F2, etc...).

What I am doing is using the EditingColumnFormattedValue get()/set() for this.

I know grid.Columns["mycolumn"].DefaultCellStyle.Format = "C" sets how it is displayed, but is it the equivalent to DataBindings.Add(), but for columns?

Is this the best place or is there a better place to intercept/control formatting for numbers in textboxes in grid columns (no maskedtextboxes please).

Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform