Default values no longer populating on create

3 posts, 0 answers
  1. Bob
    Bob avatar
    8 posts
    Member since:
    Feb 2016

    Posted 10 Sep 2019 Link to this post

    After upgrading to UI for ASPNET MVC 2019.2.619, default values defined in the grid's datasource section are no longer populating. This was working in a previous version.  Now when clicking the new button, the fields are blank.  Below is just an example.  No code was changed from the previous version.  This is for pop-up editing with a template.  Any help would be appreciated.


    .Model(model =>
         model.Id(m => m.TruckKey);
         model.Field(f => f.DriverName).DefaultValue("Driver Name");
  2. Bob
    Bob avatar
    8 posts
    Member since:
    Feb 2016

    Posted 11 Sep 2019 Link to this post

    Apparently this is a known issue with this release:

  3. Tsvetomir
    Tsvetomir avatar
    835 posts

    Posted 12 Sep 2019 Link to this post

    Hi Bob,

    It is correct that the default value does not get applied with the latest version - 2019.2.619. This is a regression introduced in the data source which indirectly affect the grid. 

    As a temporary solution, I can suggest that you either download the latest internal build or revert back to the 2019.2.514 version where the issue is not present. 

    Alternatively, you can opt for upgrading to the latest version next week, when an official release would take place.

    Best regards,
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top