I am trying to tie a function to the Kendow grid toolbar button. I write the code like this:
toolbar: [{ name: "create", text:"<span id='AddContenderButton'>Добавить претендента</span>"} ] And the function itself:
$("#AddContenderButton").click(function () { alert("Нажали добавить!"); }); But the function is not called (What am I doing wrong?