Validationbehavior while cancel editing a cell

4 posts, 0 answers
  1. Sternico
    Sternico avatar
    25 posts
    Member since:
    Sep 2009

    Posted 11 Jul 2011 Link to this post


    I’ve found a strange behavior of the validation while cancel editing a cell. When I edit a cell and enter an invalid value it shows me, that there is an input error. Very nice and cool! But when I cancel the editing with the escape key, the cell resets the content to the previous value. If the previous value was invalid too, there is no error message.

    Is there something I can do to fix the problem?

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 12 Jul 2011 Link to this post

    Hi Sternico,

     The behavior that you have described is the expected one by design. Right now we cannot not recommend any workaround to change this behavior. 

      We are going to take into account your issues and have a discussion about possible future improvements.

    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Conny
    Conny avatar
    1 posts
    Member since:
    Aug 2012

    Posted 12 Jun 2013 Link to this post

    Hi all,

    is there any solution for that? I have the same problem. If the cell is not valid and the user presses the escape key I still want to show the red border around the cell. Any suggestions?

    Thank you very much.

    Best regards,
  4. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 12 Jun 2013 Link to this post

    Hello Conny,

    I have attached a demo project showing invalid cells (when StadiumCapacity's value is less then 50000) and ts rows. If you change the value and then cancel it through the ESC key, then the old invalid value is still shown in red borders.
    Would you please check how this approach works for you?


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top