Hi,
I am using following code for fomating one of the grid column.
I am using following code for fomating one of the grid column.
Private Sub Grid_ColumnCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridColumnCreatedEventArgs) Handles WITSGrid.ColumnCreated
If InStr(e.Column.UniqueName, "USD", CompareMethod.Binary) > 1 Then
e.Column.ItemStyle.HorizontalAlign = HorizontalAlign.Right
Dim x As GridBoundColumn = CType(e.Column, GridBoundColumn)
x.DataFormatString =
"{0:###,###.###}"
End If
End Sub
problem is when that column has 0 values then it is displaying as null vall (empty cell) insted of 0.000. Can you please suggest me.
Regards
admin