I am trying to call a function from the clientTemplate. Here's sample code. I am trying to send the value of RoleName to a translator function. In my Translate() function the value I get is "#= RoleName #" , not the value. Is this possible?
@(Html.Kendo().Grid<SaviUser>()
.Name("UsersGrid")
.Columns(columns =>
{
columns.Bound(c => c.RoleName).ClientTemplate(@translator.Translate("#= RoleName #")).Title(translator.Translate("ROLE_NAME")).MinScreenWidth(768);
})