Hi Prabudevarajan,
Thank you for contacting Syncfusion support
Query: how to give the link a button like one page to another page moving
We have checked your reported query, we can achieve this by using “e-link” class using
cssClass property and link navigation can be handled in Button click.
In the following example, you can navigate to another page on button click using
NavigationManager.NavigateTo("/counter") method.
Code snippet:
|
@using Syncfusion.EJ2.Blazor.Buttons
@inject NavigationManager NavigationManager
<EjsButton CssClass="e-link" @onclick="onClick">Go to Google</EjsButton>
@code{
public void onClick()
{
NavigationManager.NavigateTo("/counter");
}
} |
Please check the above code snippets and get back to us if you need further assistance on this.
Regards,
Saranya D