Hi Dobri,
We have checked your reported
query and prepared the sample based on your requirement.
Please refer the below code
snippet. Use NavigationManager for navigate to other pages in the button
click event.
[Index.razor]:
|
@using Syncfusion.Blazor.Buttons
@inject NavigationManager _navigationManager
<SfButton CssClass="e-link" @onclick="OnClick">Link</SfButton>
@code{
private void OnClick()
{
_navigationManager.NavigateTo("/Counter");
}
}
|
For your convenience, we have
attached the sample.
Please get back
to us if you need further assistance on this.
Regards,
Yuvan Shankar A
Attachment:
BlazorApp3_df12e1a1.zip