GridBoundColumn displaying the same date format regardless of DataFormatString settings.

4 posts, 0 answers
  1. Michael
    Michael avatar
    6 posts
    Member since:
    May 2014

    Posted 15 Apr 2015 Link to this post


    My grid has 2 collumns showing dates from the datasource which is hooked up to the database.

    I serached for a fix for this and found alot of diffrent solutions yet none of them seem to work for me.


    Column in grid:

    <telerik:GridBoundColumn DataField="created_date" DataType="System.DateTime" FilterControlAltText="Filter created_date column" HeaderText="created date" SortExpression="created_date" UniqueName="created_date" FilterControlWidth="75px" DataFormatString="{0:yyyy/MM/dd}" meta:resourcekey="GridBoundColumnResource24">






    Any suggestions is much appriciated.

  2. Michael
    Michael avatar
    6 posts
    Member since:
    May 2014

    Posted 15 Apr 2015 in reply to Michael Link to this post

    it didnt want to include my 2 other snippets it seems.

    Database type is DateTime

    And the gris outputs:
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eyup
    Eyup avatar
    3007 posts

    Posted 20 Apr 2015 Link to this post

    Hi Michael,

    This is strange actually. The property should work as expected. I've tested the column definition on my side and the values are displayed correctly. Could you please run the attached application and let me know about the result?


    See What's Next in App Development. Register for TelerikNEXT.

  5. Jaya
    Jaya avatar
    81 posts
    Member since:
    Mar 2011

    Posted 22 Apr 2015 in reply to Eyup Link to this post



    Can you solve this
Back to Top