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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mixing PDF Viewer with newer MVC controls in a project

Thread ID:

Created:

Updated:

Platform:

Replies:

117294 Sep 24,2014 07:48 PM UTC Oct 1,2014 12:35 PM UTC ASP.NET MVC (Classic) 3
loading
Tags: PdfViewer
Randy Craven
Asked On September 24, 2014 07:48 PM UTC

Hello,

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,

Randy






Uthistran S [Syncfusion]
Replied On 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.

Thanks,

Uthistran S.


Randy Craven
Replied On September 29, 2014 01:57 PM UTC

Thank you very much, Uthistran.

Parthipan R [Syncfusion]
Replied On 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.

Regards,
Parthipan.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;