Reputation: 129
I need to add button "NEXT" in the pop up and how to trigger when I clicked button "NEXT" it will produce popup 2? Anyone know about it? Please refer my DEMO below. Thank you.
Upvotes: 2
Views: 801
Reputation: 3293
Add your element
$('<label class="k-checkbox-label" for="' + guid + '"></label>
<button id="button" class="k-button k-primary" type="button">Next</button>').appendTo(container);
and create a function to open the popup 2
$("#button").kendoButton({
click: function(e) {
var dialog = $('#popup2');
dialog.data("kendoDialog").open();
}
});
Upvotes: 1