Icon on dialog action buttons not showing after upgrading to 2025.1.227

0 Answers 4 Views
Dialog
Rey
Top achievements
Rank 2
Iron
Iron
Iron
Rey asked on 28 Aug 2025, 06:37 PM

I had the code below in my dialog to show icons in the action buttons.  It worked on version 2023 R3.  After upgrading to 2025.1.227, all it shows is the code (<span>) text.

Code:

@(Html.Kendo().Dialog()
    .Name("LetterPreviewDialog")
    .Title("Letter Preview")
    .Closable(true)
    .Modal(true)
    .ButtonLayout("normal")
    .Visible(false)
    .Events(e=>e.Close("OnLetterPreviewClose"))
    .Actions(a =>
    {
        a.Add().Text("<span class='k-icon k-font-icon k-i-envelop'></span> Send Letter").Primary(true).Action("SendEmail");
        a.Add().Text("<span class='k-icon k-font-icon k-i-cancel'></span> Cancel").Action("CancelEmail");
    }))

Before:

After:

No answers yet. Maybe you can help?

Tags
Dialog
Asked by
Rey
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or