or

(###) ###-#### ext.####}
I Wrote
dgv.MasterTemplate.Columns[
"PHONE1"].FormatString = "{0:(###) ###-#### ext.####}";
but is not working !
How I can do this ?
Hans
private void grdOrders_ViewRowFormatting(object sender, RowFormattingEventArgs e) { GridDataRowElement row = e.RowElement as GridDataRowElement; if (row != null) { if (row.RowInfo.Cells["OrderType"].Value.ToString() == "Buy") { row.DrawFill = true; row.BackColor = Color.SkyBlue; row.GradientStyle = Telerik.WinControls.GradientStyles.Solid; } else { row.DrawFill = true; row.BackColor = Color.Pink; row.GradientStyle = Telerik.WinControls.GradientStyles.Solid; } } }