I'm using telerik grid popup edit mode. when error occurs I want to prevent closing editor.
Here is the code; it works fine
var grid = $("#popupGrid").data("kendoGrid");But I want to call dynamically find the grid.
I found the below the code. But It's not working:
<p>var gridId = e.sender.options.table.parent('div')[0].id;<br>            var grid = $("#" + gridId).data("kendoGrid");</p><p></p>e.sender.options.table =null.
how can I do this?