We can't seem to figure out how to format a date that we want to be a link. We are able to make the link in the cell, but we can't seem to format the date the way we want it to show.
We are using Ajax binding btw.
BOb
3 Answers, 1 is accepted
0
Accepted
Petur Subev
Telerik team
answered on 09 May 2012, 07:13 AM
Hello Bob,
Generally speaking you can use the $.telerik.formatString utility method to format your date.
e.g.
ClientTemplate("The date is :<#= $.telerik.formatString('{0:dd/MM/yyyy}', yourDateProperty ) #>")
I hope this helps.
Regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.