We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Mixing PDF Viewer with newer MVC controls in a project


I am using the MVC Classic PDF Viewer in a project were all other controls are the newer MVC widgets.  Everything is working;  but I would like to know if I'm doing this in the best way.

My MVC widgets are version 12.2400.0.42 and the PDF viewer is 12.1400.0.43.

To enable the PDF Viewer, in web.config I reference the following 12.14 assemblies: compression.base, linq.base, pdf.base, pdfviewer.mvc, and pdfviewer.windows (to enable creation of thumbnails).

For the newer widgets the 12.24 assemblies are core, ej, and ej.mvc.

In my layout I call two script managers:

@{Html.Syncfusion().ScriptManager().Combine(true).Minify(true).Render();} // for 12.14

@(Html.EJ().ScriptManager())  // for 12.24

As I said this is working but I would like to know if there is a better way.

thank you,


3 Replies

US Uthistran S Syncfusion Team September 29, 2014 05:19 AM UTC

Hi Randy,

Thank you for using Syncfusion product.

Yes, this is the right approach of using our PdfViewer control in MVC project as you are using two different versions of Essential studio.

Please, let us know if you need any further assistance.


Uthistran S.

RC Randy Craven September 29, 2014 01:57 PM UTC

Thank you very much, Uthistran.

PR Parthipan R Syncfusion Team replied to Randy Craven October 1, 2014 12:35 PM UTC

Thank you very much, Uthistran.

Hi Randy,

Thanks for your response.

Please let us know if you have any queries.


Live Chat Icon For mobile
Up arrow icon