Sherzy
3/17/2016 - 4:20 PM

@Html.Raw(Json.Encode(student));

@Html.Raw(Json.Encode(student));

[ScriptIgnore]

put above in Model, these props wont go into the JSON
On a print page

<style>
    @@page {
        margin: 1cm 2cm;
    }
    textarea {
        display:block;
    }
</style>
<textarea>
    @Html.Raw(Json.Encode(Model));
</textarea>