We need the ability to modify the title of the new predefined dialog control. This control is a great replacement for JavaScript alerts and confirms. However, we should be able to modify the title by passing in an additional parameter when using the control.
Below is a workaround using CSS:
<style>
.k-confirm .k-window-titlebar::before,
.k-alert .k-window-titlebar::before {
content: 'My New Title';
font-weight: bold;
}
.k-confirm .k-window-titlebar .k-dialog-title {
visibility: collapse;
}
.k-dialog .k-window-titlebar .k-dialog-title {
visibility: hidden;
}
</style>
Hello,
The Kendo Dialog title can be specified via the title property. Check out the API reference below that illustrates the option:
https://docs.telerik.com/kendo-ui/api/javascript/ui/dialog/configuration/title
Regards,
Viktor Tachev
Progress Telerik
Great thanks