Hello !
Please tell me how can I make the Enter Key behave like the Tab Key and move to the next control !
I tried the following code but not working.
<InputText Id="name" @bind-Value="@person.name" @onkeypress="@CheckKey_InputText"></InputText>
private void CheckKey_InputText(KeyboardEventArgs args)
{
if (args.Code == "Enter" || args.Code == "NumpadEnter")
{ SendKeys.Send('{TAB}'); }
}
Thank You !