Can someone advice how do I include anti forgery token and parent ID in the hierarchical grid?
<script id="template" type="text/kendo-tmpl">
@(Html.Kendo().Grid<TransactionRevenue>()
.Name("Grid_#=ITransactionId#")
.Columns(columns =>
{
columns.Bound(o => o.InvoiceToName).Title("Receive From").Width(450);
columns.Bound(o => o.Amount).Format("{0:c}").Width(200);
})
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
.Read(read => read.Action("HierarchyBinding_Orders", "Grid", new { TID = "#=ITransactionId#" })) //****Need to include token here
)
.Sortable()
.ToClientTemplate()
)
</script>