# ListView Validation

## Environment

<table>
    <tbody>
        <tr>
            <td>Product</td>
            <td>ListView for Blazor</td>
        </tr>
    </tbody>
</table>

## Description

How to add validation to the ListView Edit and Insert operations?

How to cancel the event when validation fails and keep the ListView in edit/insert mode?

## Solution

An example is available in the following project: <https://github.com/telerik/blazor-ui/tree/master/listview/ValidationExamples>.
