I have a dialog defined but the "mydialog-control" CSS class never gets added to the dialog when it's rendered. Why is that happening?
@(Html.Kendo().Dialog() .Name("SalesTypeWarning") .Title("Warning") .Content(warningTextContent) .Modal(true) .Closable(false) .Visible(false) .Width(600) .HtmlAttributes(new { @class = "mydialog-control"}) .Actions(act => { act.Add().Text("Continue").Primary(true).Action("allowSalesTypeChange"); act.Add().Text("Cancel Change").Action("cancelClicked"); }) .Deferred(true))### Enhancement
Add a template property to the Dialog actions that allow inserting HTML into the button's text.
Right now, the following snippet will produce an HTML encoded value:
$("#dialog").kendoDialog({
...
actions: [{
text: "<span>OK</span>"
}]
});
### Expected Result
The expected result of this enhancement is to enable the developers to add the HTML into the action buttons text.