I am using Kendo Editor Tool in my MVC application and In 'Insert File' button I have renamed the Cancel button to Close. Once I upload the files and click on close button, the previous page which contains grid should refresh.
I have created a button click like this -
$('.k-dialog-close.k-button').click(function () {
alert('clicked');
});
The above code is not working and hence I am unable to call this button click function. Please help me regarding same.
For Reference I am attaching the screenshot.
Please click here to view the screenshot
As per the screenshot, The Kendo Editor Tool is customized and once Files are uploaded and Close button is pressed the grid behind should refresh.
Below is the html structure, hope this helps -
<div class="k-edit-buttons k-state-default">
<button class="k-dialog-insert k-button k-primary">Insert</button>
<button class="k-dialog-close k-button">Close</button>
</div>