Hi,
We've got a simple server bound grid which show aggregates in the footer and sets the Footer Template format to be currency - ...
.FooterTemplate(f => f.Sum.Format("{0:c}")).
Good if there are rows, but this throws an error if there are zero rows returned in the model.
How can we apply the correct formatting only if there are rows returned?
(Found this thread but the last response says the answer was through a support call - http://www.telerik.com/forums/conditionals-embedded-in-client-templates )
Many Thanks,
Dan.
We've got a simple server bound grid which show aggregates in the footer and sets the Footer Template format to be currency - ...
.FooterTemplate(f => f.Sum.Format("{0:c}")).
Good if there are rows, but this throws an error if there are zero rows returned in the model.
How can we apply the correct formatting only if there are rows returned?
(Found this thread but the last response says the answer was through a support call - http://www.telerik.com/forums/conditionals-embedded-in-client-templates )
Many Thanks,
Dan.