DocumentViewer dynamic loading in MVC
Question asked by Fernando Román Delgado - 5/29/2018 at 2:04 PM
I am trying to change dynamically the loaded document in a partial view, like the code example:
The difference is that the method GetDocumentViewerModel set the parameter Document from a database.
The first time the document is loaded right, but not at second when I send the new document parameter in the DocumentViewer Model.
The viewer is cleared and show and empty square.
Any idea?

Thanks in advance.

Reply to Thread