Blazor | ComponentOne
C1.Blazor.Input Assembly / C1.Blazor.Input Namespace / C1MaskedTextBox.C1MaskedTextBoxReference Class / OnMaskInputRejectedAsync Method
the invalid char entered by user.
the position of the invalid char entered by user.

In This Topic
    OnMaskInputRejectedAsync Method
    In This Topic
    will get called by js when a invalid char entered by user.
    Syntax
    'Declaration
     
    
    Public Function OnMaskInputRejectedAsync( _
       ByVal rejectedValue As String, _
       ByVal index As Integer _
    ) As Task(Of Boolean)
    public Task<bool> OnMaskInputRejectedAsync( 
       string rejectedValue,
       int index
    )

    Parameters

    rejectedValue
    the invalid char entered by user.
    index
    the position of the invalid char entered by user.
    See Also