You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to passing the model, is it possible to add viewdata as well. It will make it easier to support both online an pdf implementation of the code + compatible with other rotativa implementations.
The text was updated successfully, but these errors were encountered:
In MVC5, we were using https://github.com/webgio/Rotativa
We were able to set properties in the viewbag and they were available in the view included with viewaspdf. We are switching to rotativacore as it seems to offer more than the mvc core version of webgio/rotativa,aspnetcore.
we found that webgio viewaspdf can handle viewdata, but rotativacore viewaspdf doesn't. To make it work, we would need to make changes to use model rather than viewbag.
In addition to passing the model, is it possible to add viewdata as well. It will make it easier to support both online an pdf implementation of the code + compatible with other rotativa implementations.
The text was updated successfully, but these errors were encountered: