I have a field from the database that is an integer which is basically number of seconds.
but i want to display it as HH:MM:SS, Is there a way to do that using expression in the reports or it has to be done in code behind.
3 Answers, 1 is accepted
0
Peter
Telerik team
answered on 23 Jun 2011, 02:11 PM
Hello ankit,
You can use an User Functions to convert the integer (seconds) into DateTime or correctly formatted string. For example check out the following code snippet:
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
How do you do this functionality in Telerik's stand-alone Report Designer? Thank you
0
Silviya
Telerik team
answered on 19 Aug 2019, 11:30 AM
Hello Colleen,
To use custom functions inside the Standalone Designer it needs to be extended - check Extending Report Designer help article for reference. The designer's folder is placed in default Telerik Reporting installation folder, e.g. C:\Program Files (x86)\Progress\Telerik Reporting <VERSION>\Report Designer.
Best Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items