Hello Telerik Team,
I am new to Telerik. we are upgrading the project to 2011 version. In the RadGridview we have a date column display. It was working fine in the 2009 version. Now it is displaying the date with default time 12:00. How do I take out the time part and display only the date.
I have used the DataFormatString = "{0: mm/dd/yyyy}. I could see the format change in the result. But the months are always showing 00 for all the row. What is the correct syntax? I tried this format DataFormatString = {mm/dd/yyyy} , getting error in the page load itself.
-Arun
I am new to Telerik. we are upgrading the project to 2011 version. In the RadGridview we have a date column display. It was working fine in the 2009 version. Now it is displaying the date with default time 12:00. How do I take out the time part and display only the date.
I have used the DataFormatString = "{0: mm/dd/yyyy}. I could see the format change in the result. But the months are always showing 00 for all the row. What is the correct syntax? I tried this format DataFormatString = {mm/dd/yyyy} , getting error in the page load itself.
<telerik:GridViewDataColumn DataType="{x:Null}" IsReadOnly="True" IsVisible="True" IsFilterable="False" IsGroupable="False" IsSortable="True" Width="100" UniqueName="RunDate" Header="Birth Date" TextAlignment="Left" DataFormatString=" {0:mm/dd/yyyy} "/>