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

How to display formatted text with Mask Input Column?

1 Answer 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lawrence
Top achievements
Rank 1
Lawrence asked on 23 Jun 2013, 09:27 PM
I'm using the RadGridView GridViewMaskedInputColumn with a mask for a phone number "(###) ###-####", and I would like to have the phone number display with the mask when not being edited in the grid.  I can seem to get the "DataFormatString to work.  I've tried DataFormatString="{}{0:(###) ###-####}" with no luck.  Thanks!

1 Answer, 1 is accepted

Sort by
0
Lawrence
Top achievements
Rank 1
answered on 23 Jun 2013, 09:34 PM
Well, after changing the data type to double, it worked fine.
Tags
GridView
Asked by
Lawrence
Top achievements
Rank 1
Answers by
Lawrence
Top achievements
Rank 1
Share this question
or