I have the following 2 column definitions in a grid. When the grid displays there is no data in the DateTime column, but the calculated field is populated correctly.
If I delete the calculated column then the DateTime column works correctly.
What is wrong with the calculated column definition?
Mike
<telerik:GridDateTimeColumn UniqueName="GridRestoreTmstmp" DataFormatString="{0:MM/dd/yyyy H:mm:ss}" HeaderText="Restored" DataField="restoreTimestamp" >
<HeaderStyle Width="70px" />
</telerik:GridDateTimeColumn>
<telerik:GridCalculatedColumn DataFields="customersRestored, customersRestoredAdjustment"
DataType="System.Int32" Expression="({0}+{1})" HeaderText="Customers Restored"
UniqueName="GridCustomersRestored" >
<HeaderStyle Width="40px" HorizontalAlign="Right" />
</telerik:GridCalculatedColumn>
If I delete the calculated column then the DateTime column works correctly.
What is wrong with the calculated column definition?
Mike
<telerik:GridDateTimeColumn UniqueName="GridRestoreTmstmp" DataFormatString="{0:MM/dd/yyyy H:mm:ss}" HeaderText="Restored" DataField="restoreTimestamp" >
<HeaderStyle Width="70px" />
</telerik:GridDateTimeColumn>
<telerik:GridCalculatedColumn DataFields="customersRestored, customersRestoredAdjustment"
DataType="System.Int32" Expression="({0}+{1})" HeaderText="Customers Restored"
UniqueName="GridCustomersRestored" >
<HeaderStyle Width="40px" HorizontalAlign="Right" />
</telerik:GridCalculatedColumn>