[Solved] DialogFactory ... always removing "space"

1 Answer 13 Views
Dialog
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Rob asked on 03 Jun 2026, 07:56 PM

I've tried the following:

HTML ...

  

CSS

.k-dialog .k-dialog-content {
    white-space: pre-line;
}

Unicode

\u00A0

bool isConfirmed = await Dialogs.ConfirmAsync($"  Are you sure you want to delete {item.RepairType} rate of {item.NextStandardRate}?  ", "Confirmation");

Doesn't matter what I do, any spaces before or after get removed from the string passed in to the Dialog:

This IS ugly and I can figure out how to get some padding or margin.

Thoughts?

1 Answer, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
answered on 03 Jun 2026, 08:05 PM

My error, Unicode \u00A0 IS working ... sorry intellisense was creating double "\\" not sure why?

Ignore.

Tags
Dialog
Asked by
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Answers by
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Share this question
or