Rotativa
Rotativa copied to clipboard
ViewAsPdf ignoring conditional statements in view?
I have a razor view that has multiple partials loaded inside it depending on if certain conditions are met in the viewmodel, but it seems to ignore the if statements completely. Does rotativa grab everything inside the view as it is rather than running the code inside?
It renders the views. Perhaps something is missing in the model?