I used the instructions from here: https://docs.telerik.com/aspnet-mvc/html-helpers/data-management/grid/faq#how-can-i-use-action-links
... and the code below works just fine, however this creates a GET. How can change it to create a POST?
Here is my code:
columns.Bound(c => c.InvoiceAmount)
.Format("{0:C}")
.Width(100)
.Title("Invoiced")
.HtmlAttributes(new { @style = "text-align:right;color:blue;" })
.ClientGroupHeaderColumnTemplate("#= kendo.format('{0:C}',sum)#")
.ClientTemplate("<
a
href
=
'/PurchaseInvoice/Index?StatusIDFrom=1&StatusIDTo=250&ProjectID=#=ProjectID#&SupplierID=#=SupplierID#&DateFrom=#= kendo.toString(DateFrom,'
yyyy-MM-dd') #&DateTo=#= kendo.toString(DateTo,'yyyy-MM-dd') #'>#= kendo.format('{0:C}',InvoiceAmount)#</
a
>")
.ClientFooterTemplate("<
div
style
=
'text-align:right;color:blue;'
><
a
href
=
'" + Url.Action("Index", "PurchaseInvoice?ProjectID=#=projectID#")+"'
>#= kendo.format('{0:C}',sum)#</
a
></
div
>");
... the ClientTemplate creates a GET, I need a POST.
Note: I want to display the InvoicedAmount as a link to a POST.
Thanks