another case that CellValidating is not fired

5 posts, 0 answers
  1. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 02 Feb 2010 Link to this post

    Hello,

    Today, we found that if we changed the value of a cell in a grid first, then use mouse to click on the empty data area of that grid. The CellValidating event won't get fired. Currently, we found 3 cases that CellValidating event won't fire:

    1. press ESC when editing
    (sometimes the data loaded from db contains error. we need to check it even when user is aborting editing by press ESC)
    2. click on the scroll bar when editing
    3. cllick on the empty data area when editing

    We need fixes to these very very quickly. Do you have any info when will these get fixed. Our customers continued to complain about these bugs and nothing we can do with this situation.

    Thanks in advance.

  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 02 Feb 2010 Link to this post

    Hi ChunChang,

    Thank you for contacting us.

    1. CellValidating does not fire in this case as the data is not changed upon pressing the ESC key e.g. no validation is necessary in this case.

    2. The same as in the ESC case; the new value is discarded and the old value remains.

    3. I cannot actually reproduce that case. When clicking on the empty grid data area, the editor is not closed and the editing continues.

    Greetings,
    Nick
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 02 Feb 2010 Link to this post

    Hello Nick,

    Thanks for replying so quickly. :)

    1. We can understand your point. But as I said in my first article, sometimes we need CellValidting to be fired even when user press ESC. Can you consider to make this a configurable behavior?
    2.3. Please see the attached images. If you still have problems to reproduce them, I can send you a small event test program.

    Best regards,
    shortie
  5. Nick
    Admin
    Nick avatar
    767 posts

    Posted 02 Feb 2010 Link to this post

    Hi ChunChang,

    Thank you for contacting us.

    1. We cannot change the event, but I suppose that there might be another more appropriate event in this case. Perhpas you can use CellEndEdit. It fires when you press the ESC key.

    2.3. I think that you need to use CellEndEdit in those situations as well.

    If the above does not help, please send me a sample project and I will find a solution. Please note that you need to start a new support ticket so that you can attach zips.

    Regards,
    Nick
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  6. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 02 Feb 2010 Link to this post

    Hi Nick,

    Thanks for your reply.

    I will create a ticket and attach a sample program to demonstrate the problems we have.

    BR/shortie

Back to Top
UI for WinForms is Visual Studio 2017 Ready