I have a Telerik RadGrid control that I snap on the client side, I see 20 results, so it works. My date, date, however, is as follows: 2015-01-30T00:00:00 , and I need to format it on two lines as follows: 1/30/2015<br />12:00:00 AM
However, DataFormatString does not apply any changes to Date columns, and they look like this:
<telerik:GridBoundColumn DataField="StartDate" UniqueName="StartDate" HeaderText="Start" SortExpression="StartDate" DataFormatString="{0:MM/dd/yyyy hh:mm}" HtmlEncode="false"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="StopDate" UniqueName="StopDate" HeaderText="Stop" SortExpression="StopDate" DataFormatString="{0:MM/dd/yyyy hh:mm}" HtmlEncode="false"></telerik:GridBoundColumn>
What do you need to accomplish this with the RadGrid control?
If this cannot be done using the RadGrid control, can it be possible to parse the JavaScript data before binding to the RadGrid control? gridView.set_dataSource(results[0]);
javascript data-binding telerik
Jojo
source share