I have a RadGrid with 1 detail table which is defined declaratively and I'm using 2 SqlDataSources; one for the master table and the second for the detail table.
My detail table has a GridCalculatedColumn:
<telerik:GridCalculatedColumn HeaderText="Duration (calculated)" DataType="System.String"
DataFields="Duration" UniqueName="Duration-custom" Expression="1">
</telerik:GridCalculatedColumn>
How would that be possible to set the Expression value at runtime?
I'd like to set this value to the expression:
TimeSpan.FromSeconds({0})
which returns data in this format in C#: d.hh:mm:ss e.g. 1.10:10:10
Thanks,
My detail table has a GridCalculatedColumn:
<telerik:GridCalculatedColumn HeaderText="Duration (calculated)" DataType="System.String"
DataFields="Duration" UniqueName="Duration-custom" Expression="1">
</telerik:GridCalculatedColumn>
How would that be possible to set the Expression value at runtime?
I'd like to set this value to the expression:
TimeSpan.FromSeconds({0})
which returns data in this format in C#: d.hh:mm:ss e.g. 1.10:10:10
Thanks,