This is a migrated thread and some comments may be shown as answers.

SignalR Refresh OnConnected not called

1 Answer 764 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 05 Oct 2020, 06:10 PM

Following the exact example here:

https://github.com/ftamminga/KendoUISignalRApp/blob/master/KendoUISignalRApp/Views/Home/Index.cshtml

My application works on initial load (e.g. create, destory, etc) but if I refresh the page (f5), OnDisconnected gets called by the client never reconnects. But if I had the empty client side method, it works:

hub.client.create = function () { console.log('create1'); };

 

I would think setting the client side kendo grid properties (e.g. Read, Create, Destroy, Update) would created/binded to the necessary client side methods. Am I doing something wrong? 

 

 

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 07 Oct 2020, 09:52 AM

Hi Paul,

I have investigated the case and the Task of interest locally and I can confirm that the OnConnected is being triggered after refreshing the page via F5. 

Attached to my response is a sample, can you test it out and confirm the defect there?

 

Kind regards,
Tsvetomir
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or