Silverlight-Rich文本框

Silverlight-Rich文本框,silverlight,Silverlight,我正在使用银色的文本框。在我的开发机器上一切正常,但当我将其发布到IIs(IIS6不确定这是否重要)时,标记正在显示,而不是格式化文本。同样,我的电脑上的每件事都正常工作,因此代码是正确的 这是正在显示的 <Section xml:space="preserve" HasTrailingParagraphBreakOnPaste="False" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation

我正在使用银色的文本框。在我的开发机器上一切正常,但当我将其发布到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>

趋势包括:

(注意:为可读性而格式化的代码-原始代码中没有空格)。

IIS 6.0需要手动配置MIME类型才能正确运行Silverlight:

现在代码可见,我可以看到您错过了结束
。这真的不见了吗?很抱歉,我没有把它全部贴上。同样,这个包含RichTextbox的应用程序在我的开发PC上运行良好。我假设服务器上缺少一些东西,但我不知道是什么。嗨,是的,我已经完成了。应用程序的其余部分工作正常,只是富文本框没有直接显示。