Vote count:
0
Hello I'm using MvcRazorToPdf http://ift.tt/1rSytO1 to convert my MVC 4 Details View to a PDF. The problem I am having with MvcRazorToPdf is that it is not showing output for a checkbox (it's blank, code below). Does anyone know how to get this going or does anyone have a solid example using iText? I've never used it before.
Process is a select box, the output shows fine. nonQualified is a checkbox and it doesn't show any output ie True or False
<table>
</tr>
<tr>
<td class="label">@Html.DisplayNameFor(model => model.Process):</td>
<td class="col">@Html.DisplayFor(model => model.Process)</td>
<td class="label">@Html.DisplayNameFor(model => model.nonQualified):</td>
<td>@Html.DisplayFor(model => model.nonQualified)</td>
</tr>
</table>
asked 55 secs ago
Aucun commentaire:
Enregistrer un commentaire