I'm new to Kendo.ui and i have troubles to understand the calls using #=.
I want to pass a second parameter to my controller, but I cannot make it work properly, it either don't display the grid or kill the button. Here is my code :
.ClientTemplate("<a onclick=\"AjaxUrlTo('" + @Url.Action("AddOrUpdate", "Area") + "?areaId=#= Id #')\" class=...");
And here is what I've tried :
"?areaId#: Id#&customerId#: Site.CustomerId#')
"?areaId=#= Id#&customerId=#= Site.CustomerId#')
"?areaId=#= Id #'" + "?customerId=#= Site.customerId #')
"?areaId=#= Id #, ?customerId=#= Site.customerId #')
"?areaId=#= Id"+" '&customerId=#= Site.CustomerId#')
"?areaId=#= Id"+"'?customerId#=42#')
Any clue about what I'm doing wrong ?
Found out the correct way to do it :