Completed
Last Updated: 13 Jun 2019 10:44 by ADMIN
Release 1.1.1
tomas
Created on: 25 Apr 2019 20:59
Category: Grid
Type: Bug Report
4
Application hangs during TelerikGridCommandButton

When I click TelerikGridCommandButton and inside OnClick event calling method uriHelper.NavigateTo("/xxx"); application hangs.

Using latest VS 2019 version and Blazor Preview 4

5 comments
ADMIN
Marin Bratanov
Posted on: 29 Apr 2019 07:12
Hi Thomas,

Thank you for the sample.

Indeed, that's the same issue - in this case this is a server app, and so the JS error breaks the connection to the server. I'm attaching a screenshot that clarifies this as a reference.

It is already logged for review and this page will be updated when it is fixed. If you haven't already, you can click the Follow button to ensure you will receive email notifications about changes.

You will also find your Telerik points updated for sharing this issue with us.


Regards,
Marin Bratanov
Progress TelerikUI for Blazor
tomas
Posted on: 28 Apr 2019 20:52

Yes, it happened only with version 0.5.0 I already used 0.4.0 and it was ok.

I created special version of my application which does not require database connection and only display forms.

You can download it from https://drive.google.com/file/d/1IdjF4_0NKa1gWcHrIU1-P8KuOsJDkPOn/view?usp=sharing

1 Run application

2 Click on login button

3 Click on "test" node in the navigation panel on the left side

4 grid with one record is now displayed in the form "objekt"

5 click on button View which navigating form the new form "objektdetail"

 

 

ADMIN
Marin Bratanov
Posted on: 28 Apr 2019 07:45
Hello Tomas,

Does this happen with the latest Telerik Blazor components version (0.5.0)? 

On my end there is no hang, and the SPA goes to the next view. An error is thrown in the console, though, and I am logging that for review, but it does not break the app.

I am attaching here the sample I tested with, so you can compare against it and see what is the difference causing the problem (make sure to also check the .csproj file for the BlazorLinkOnBuild switch). If this does not help, can you modify this app to show the problem?


Regards,
Marin Bratanov
Progress TelerikUI for Blazor
tomas
Posted on: 26 Apr 2019 07:31
Yes,  services.AddTelerikBlazor() was already added...
Ben Hayat
Posted on: 26 Apr 2019 00:04
In the client project startup, do you add Telerik service do your DI?

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddTelerikBlazor();
        }