Validation for multiple pasted cells

2 posts, 0 answers
  1. cmh
    cmh avatar
    8 posts
    Member since:
    Apr 2010

    Posted 31 Aug 2011 Link to this post

    When I paste multiple cells into the radgridview, the "Pasted" event only fires once.  Any suggestions/examples for validating each cell?
  2. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 03 Sep 2011 Link to this post

    Hi Cmh,

    You could take advantage of RadGridView's support for IDataErrorInfo or INotifyDataErrorInfo interfaces. If your BO impelments any of these interfaces RadGridView will mark "wrong" cells in red after "Paste".
    Let me know if you need further assistance.

    Kind regards,
    Nedyalko Nikolov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top