Hi J Theon,
We have checked your reported issue, we can resolve your issue in sample level, we have changed the navigation to work asynchronously. Please refer below code snippets.
|
<SfButton IsPrimary="false" Content="Back to Page One" Type="button" @onclick="BtnGoToPageOne">
</SfButton>
@* SfProgressButton raises a rendering error *@
<SfProgressButton Content="a test btn" IsPrimary="true" @onclick="BtnImportSelectedOnClick"></SfProgressButton>
@* With simple SfButton works fine! *@
@*<SfButton Content="a test btn" IsPrimary="true" @onclick="BtnImportSelectedOnClick"></SfButton>*@
@code {
private async Task BtnGoToPageOne()
{
await Task.Run(()=> NavigationManager.NavigateTo("/page-1"));
}
private void BtnImportSelectedOnClick()
{
}
} |
For your reference, we have resolved issue in our sample, please refer below link.
Please let us know, if you need any further assistance,
Regards,
Mohankumar R