New to Kendo UI for jQuery? Start a free 30-day trial

Destroy

methods

Prepares the RadioButton for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo UI widgets.

The destroy method does not remove the RadioButton element from DOM.

<input id="radio" />

<script>
    var radioInstance = $("#radio").kendoRadioButton().data("kendoRadioButton");
    radioInstance.destroy();
</script>
Not finding the help you need?
Contact Support