Show short date, edit full date with batch editing

1 posts, 0 answers
  1. Marin
    Marin  avatar
    22 posts
    Member since:
    Jul 2012

    Posted 27 Dec 2017 Link to this post

    Requirements

    Telerik Product and Version

    UI for ASP.NET AJAX, supporting Batch Edit Mode for RadGrid

    Supported Browsers and Platforms

    All browsers supported by Telerik UI for ASP .NET AJAX

    Components/Widgets used (JS frameworks, etc.)

    JavaScript, C#


    PROJECT DESCRIPTION 

    This is an example that shows how you can use complex data and objects in a Template Column. This is an example similar to the Working with Templates
     article.

    In this example, we will show one date to the user in a short format, but we will let them edit the full date, including the time portion. When we save the data to the server, we will still have the full date.

    Note that working with dates like this requires parsing them through strings and JavaScript. Thus, you must ensure proper parsing and formatting according to your needs.

    A sample is attached below. Comments in the code offer further details.

Back to Top