Add MarkupString params to TelerikDialogs.PromptAsync

1 Answer 7 Views
Dialog
Franck
Top achievements
Rank 1
Franck asked on 10 Feb 2026, 01:12 PM

Hello,

Is there a way to show in a Dialog an html formated message ?
I would like to be able to do for instance something like this :

var value = await TelerikDialogs.PromptAsync(
                            new MarkupString($"<p>Please choose :</p><p>1) Value 1</p><p>2)...</p>",
                            "Pick an item",
                            "1"
                        );

And the same shall apply to AlertAsync() and ConfirmAsync() I guess.

Many thanks in advance !

Franck

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Feb 2026, 01:17 PM

Hi Franck,

We have a feature request about MarkupString support in the DialogFactory. I voted for it on your behalf. For the time being, I am afraid this is not supported and you need to use the <TelerikDialog> component.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Dialog
Asked by
Franck
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or