In situations where a razor view cannot compile to JavaScript it could be possible to have a Controller on the server that can be called to render the view.
When called on the client, use the model passed to the template function but call the server from the template function instead of relying on the normal rendering.
In situations where a razor view cannot compile to JavaScript it could be possible to have a Controller on the server that can be called to render the view.
When called on the client, use the model passed to the template function but call the server from the template function instead of relying on the normal rendering.