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

Tag Helpers CRUD

1 Answer 108 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
sayitfast asked on 28 Jun 2018, 10:59 PM

I have the following configuration of the Grid:

<kendo-grid name="grid">
    <datasource type="DataSourceTagHelperType.Custom" page-size="5">
            <read url=""  />
            <destroy url=""  />
            <model id="Id">
                    <field name="Name" type="text"></field>
                    <field name="Content" type="text"></field>
                    <field name="PublishDateTime" type="date"></field>
                    <field name="PublishDateTime" type="Date"></field>
    <groupable enabled="true" />
    <sortable enabled="true" />
    <pageable button-count="5" refresh="true" page-sizes="new int[] { 5, 10, 20 }">
    <filterable enabled="true" />
        <column field="Name" title="Name" width="240" />
        <column field="Content" title="Content" width="240" />
        <column field="PublishDateTime" title="Date" format="{0:MM/dd/yyyy}" />
        <column field="Id" title="Id" width="150" />
        <column title="Edit">
                <column-command name="edit"></column-command>
                <column-command name="delete" name="destroy"></column-command>


I can view sort all works... the one thing I cannot get to work is the delete which I have hard coded right now to delete record with Id of 7.  I'm following the docs at:

Right now Delete is doing nothing... no errors in page nothing.  I don't understand what it is I need to do to delete a record. The service is just a Web Api with Crud.  I can do Crud operations in Postman no problem.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 03 Jul 2018, 06:23 AM
Hello, Rhett,

Thank you for the details.

If the Grid is using WepApi, the dataSource type has to be set to WepApi as well.

I can suggest checking the dataSource tag helper documentation as it has some specifics which have to be taken into account when using it:

If the issue still occurs please provide an example and I will gladly investigate further.

Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Top achievements
Rank 2
Answers by
Telerik team
Share this question