New to Telerik UI for ASP.NET Core? Download free 30-day trial

SignalRCrudOperationsBuilder

Methods

Update(System.String)

The name of the method of the SignalR hub responsible for updating data items.

Parameters

method - System.String

Method name

Example


                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Update("methodName"));
                                   }))
                   )

Create(System.String)

The name of the method of the SignalR hub responsible for creating data items.

Parameters

method - System.String

Method name

Example


                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Create("methodName"));
                                   }))
                   )

Destroy(System.String)

The name of the method of the SignalR hub responsible for destroying data items.

Parameters

method - System.String

Method name

Example


                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Destroy("methodName"));
                                   }))
                   )

Read(System.String)

The name of the method of the SignalR hub responsible for reading data items.

Parameters

method - System.String

Method name

Example


                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Read("methodName"));
                                   }))
                   )

In this article
Not finding the help you need?