optimistic concurrency

2 posts, 0 answers
  1. Robert
    Robert avatar
    13 posts
    Member since:
    Oct 2014

    Posted 11 Nov 2014 Link to this post

    Is there anyway to implement optimistic concurrency with the Kendo Grid?
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 13 Nov 2014 Link to this post

    Hello Robert,

    The concurrency control should happen on the database level. Concurrency control cannot be changed on the client side.

    For examples if there are two users that retrieved a specific record.

    They both modify their local copies and submit them in different time, inside your update action method you will receive the updated record and you need to decide there how concurrency will be resolved. When the second one tries to update you can throw an exception that the record was modified :


    Kind Regards,
    Petur Subev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top