Telerik Radgrid pdf不支持<br/>

时间:2018-06-28 08:31:14

标签: c# pdf radpdf

Telerik Radpdf导出不支持<br />

我的代码:

e.RawHTML = e.RawHTML.Replace("</thead><tbody>", "</thead><tbody><tr><td>" + divHeader.InnerHtml + "</td></tr>");
string strLast = "</tbody>";
int intIndex = e.RawHTML.LastIndexOf(strLast);
e.RawHTML = e.RawHTML.Remove(intIndex, strLast.Length).Insert(intIndex, "<tr><td>" + divFooter.InnerHtml + "</td></tr></tbody>");
e.RawHTML = e.RawHTML.Replace(@"<br /><br /><br /><br /><br /><br />", "<p></p>");
e.RawHTML = e.RawHTML.Replace("class=\"listSquare\"", "style=\"list-style-type: square\"");
e.RawHTML = e.RawHTML.Replace("class=\"Alpha\"", "style=\"list-style-type:lower-alpha; \"");

我想在div页脚中留出空格,它已经出现在e.rawhtml中,但没有出现在pdfexport

0 个答案:

没有答案