Monday, 10 June 2013

Maintain FormView values on validation errors

Protected Sub FormView_Paper_ItemInserted(sender As Object, e As FormViewInsertedEventArgs) Handles FormView_Paper.ItemInserted

If Not IsNothing(e.Exception) Then
   
    e.ExceptionHandled = True
    e.KeepInInsertMode = True

End If

End Sub

No comments:

Post a Comment