Hi Tyrone,
We suggest you
use the native focus event to achieve your requirement.
Find the code
example here:
<SfTextBox @ref=TextObj ID="textbox"
Placeholder='First Name' @onfocus='@(e => KeyPressed(e,
TextObj.ID))'>
</SfTextBox>
@code {
SfTextBox TextObj;
public void KeyPressed(Microsoft.AspNetCore.Components.Web.FocusEventArgs args, string ID)
{
}
}
|
Find the screen
shot here:
Find the sample
in the attachment:
Note: If this
post is helpful, please consider Accepting it as the solution so that other
members can locate it more quickly.
Regards,
Sureshkumar P
Attachment:
Textbox_894cc08f.zip