Is it possible to use PDFWebViewer component with Microsoft MVC 1 or 2

  • Reference KB000071
  • Type Q&A
  • Product PDFWebViewer.NET
  • Category -
  • Created 21/05/2010
Is it possible to use PDFWebViewer component with Microsoft MVC 1 or 2?
You can use PDFWebViewer with MVC, but at the moment (version 1.0.6.1) you will need to place it inside a form control and have a ScriptManager control on the page in order for it to work properly. PDFWebViewer will not do ASP.NET style postbacks and it does not rely on viewstate, which fits nicely with MVC sites.