This question is locked. New answers and comments are not allowed.
hi all
Just trying to execute a javascript function the following way:
Any ideas? Thank you
Just trying to execute a javascript function the following way:
columns.Command(commands => { commands.Edit().ButtonType(buttonType); commands.Delete().ButtonType(buttonType); }).Width(100).Title("Commands"); columns.Bound(p => p.ID).ClientTemplate("<a href='#' class='t-button order' onclick='return auditCustomCommand('<#= ID #>')'>Audit</a>").Width(30);function auditCustomCommand(id) { alert(id);}Any ideas? Thank you