【发布时间】:2018-05-31 14:11:57
【问题描述】:
我有一个非常基本的剑道窗口,我需要在标题中包含 TM 符号。出于某种原因,它呈现为 ™,我无法在网上找到任何与此特定情况有关的内容。
这是我的代码,我遇到问题的标题在底部:
@(Html.Kendo().Window().Name("SmartHomeTerminationModal")
.Actions(a => a.Minimize().Close())
.Animation(false)
.Content(
@<text>
<div class="container-fluid midco-k-window-content">
<div class="row">
<div class="col-xs-12">
@if (Model != null)
{
<table class="table table-bordered table-condensed table-striped">
<tr>
<th>Install Date</th>
<th>Months in Contract</th>
<th>Months Remaining</th>
<th>Equipment Fee</th>
<th style="width: 20px;"></th>
<th>Total</th>
</tr>
<tr>
<td>@Model.InstallDate.ToShortDateString()</td>
<td>@Model.MonthsInContract</td>
<td>@Model.MonthsRemaining</td>
<td>@Model.EquipmentFee.ToString("C")</td>
<td>=</td>
<td><strong>@Model.EquipmentFee.ToString("C")</strong></td>
</tr>
</table>
}
else
{
@Html.ErrorMessage("We were unable to retrieve SmartHOME termination fee information.")
}
</div>
</div>
</div>
</text>)
.Draggable()
.Title("SmartHOME™")
.Visible(false)
.Width(800))
【问题讨论】:
标签: razor kendo-ui unicode-string