在Stimulsoft js报告中显示带有html标签的字符串

时间:2015-11-24 07:34:07

标签: c# html json report stimulsoft

我有一个使用Stimulsoft js报告的报告,它的数据源是Json数据,这个Json对象中的一个属性,有时用html tagsm进行了测试但是在渲染这个Json对象时,我发生了这个例外: / p>

连接'邮件':解析值后,遇到意外字符:w。路径' [0] .TextBody',第29行,第86位。

[
        {
            "Subject": "Úáí",
            "SenderName": "ÏÑíÇÝÊ ˜ääÏÇä",
            "ReceiversName": "ÏÑíÇÝÊ",
            "CcReceiversName": "ãåã",
            "SentDate": "1393-03-03",
            "Status":"1",
            "HasAttachment":true,
            "Priority":"1",
            "Privacy":"1",
            "SentDateString":"ÏíÑæÒ",
            "IsForward":true,
            "IsReplied":true,
            "InboxId":"97002F44-BDC2-483D-A6CC-51A6479FB272",
            "ReferenceNumber":"1",
            "RefrenceDate":"1393-03-03",
            "ReferenceHasNote":true,
            "Labels":"test",
            "IsRead":true,
            "IsStarred":true,
            "IsImportant":true,
            "IsInInbox":true,
            "PriorityTitle":"ãåã",
            "PrivacyTitle":"ÓÑí",
            "RefrenceId":"97002F44-BDC2-483D-A6CC-51A6479FB272",
            "ReplyDeadLine":"1393-03-03",
            "HasPrevious":true,
            "TextBody": "<p><span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">مژده وصل تو کو کز سر جان بر خیزم&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; طایر قدسم و از دام جهان برخیزم</span><br />\n<span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">بوفای تو که گر بنده خویشم خوانی&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; از سر خواجگی کون و مکان برخیزم</span><br />\n<span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">یا رب از ابر هدایت برسان بارانی</span></p>\n"

        }
    ]

0 个答案:

没有答案