RadGridView cell "traps" focus when validation fails

2 posts, 0 answers
  1. Dustin
    Dustin avatar
    10 posts
    Member since:
    Sep 2014

    Posted 06 Nov 2014 Link to this post


    In most use-cases, I enjoy the fact that a RadGridView cell which fails validation will "trap" the user's focus, and require the user to fix the cell contents.  However, in the current project I am working on, I need to allow the user to switch focus simply by mouse-click (currently if the user enters an invalid cell, they must hit esc first), even out of cells which have failed validation.

    How do I get this behavior?  

  2. Boris
    Boris avatar
    276 posts

    Posted 10 Nov 2014 Link to this post

    Hello Dustin,

    In order to achieve this functionality, you can set GridView's ValidatesOnDataErrors property to "InViewMode" or "None". In addition, you can check this help article for a reference.

    I hope this helps.


    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