【发布时间】:2011-06-22 08:38:11
【问题描述】:
我正在使用 Silver light Richtext 框。在我的开发机器上一切正常,但是当我将它发布到 IIs(IIS6 不确定这是否重要)时,标记正在显示而不是格式化文本。同样,一切都在我的电脑上运行,所以代码是正确的。
正在显示
<Section xml:space="preserve" HasTrailingParagraphBreakOnPaste="False"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Paragraph FontSize="11" FontFamily="Portable User Interface"
Foreground="#FF000000" FontWeight="Normal" FontStyle="Normal"
FontStretch="Normal" TextAlignment="Left" LineHeight="0"
LineStackingStrategy="MaxHeight">
<Run>trends including: </Run>
(注意:为便于阅读而格式化的代码 - 原始代码中没有空格)。
【问题讨论】:
-
现在代码是可见的,我可以看到你错过了结束
</Paragraph>和</Section>。这真的不见了吗? -
很抱歉,我只是没有粘贴所有内容。同样,这个包含 RichTextbox 的应用程序在我的开发 PC 上运行良好。我假设服务器上缺少某些东西,但我不知道是什么。
标签: silverlight