For the Web Grid I am trying to Apply formatting to One of the Grid Column for Phone formatting usinf the code behind.
I am using it at a control level.
igGrid.Columns.FromKey("phone").Format = "(###) ###-####";
It doesn't seems to be working.
The phone no is a 10 digit number.
It displays number 1234567890 and i want (123) 456-7890
Please advice further .
Wait, this is a WinGrid question, you can't access the columns collection in the WebGrid via a string accessor.
Darrell Kress"]Wait, this is a WinGrid question,
Did this ever get resolved. The original post says "Web". If we're talking about WinGrids only, could you please move this thread to that forum.
I'm following this one because I expect to have a similar issue.
I tried using
but still it is not formatting.
Please advice