+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / ListView Date Format

ListView Date Format

2 posts, 1 answered
  1. Shawn
    Shawn avatar
    79 posts
    Registered:
    26 Sep 2012
    07 Sep 2010
    Link to this post
    I'm looking for an easy way to format the date displayed on the "List View" of modules.  Since the application uses client side data binding I cannot define the DataFormatString for a given column.  Is there a way to define the format in metafields section of the web.config?  Do I have to wire in the RowDataBound client side event to change the format of the string via javascript? 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Sep 2010
    Link to this post
    Hi Shawn,

    You can map the external template for the list view you want to modify - How to map a template and there is a js code from where you can modify the format. Please check RadGrid_RowDataBound client side function in the template there is a row where we use MS AJAX  _toFormattedString(param1, param2)

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    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
    Answered
2 posts, 1 answered