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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multiple Models in one view

Thread ID:





147678 Sep 19,2019 01:01 PM UTC Sep 23,2019 12:07 PM UTC ASP.NET Core - EJ 2 2
Tags: PDF Viewer
Asked On September 19, 2019 01:01 PM UTC


I am using Razor Pages on macOS. What is the best way to view multiple models in one view. I have a dashboard layout with two columns. In one column I want to use the pdfviewer model and in the other I want to use the grid model. I found some examples on how to use ViewData, Tuples, etc. Please let me know if you recommend a techniques for razor pages.


Replied On September 19, 2019 01:07 PM UTC

I meant in one page.

Akshaya Arivoli [Syncfusion]
Replied On September 23, 2019 12:07 PM UTC

Hi Maral, 
Thank you for contacting Syncfusion support. 
We have created the sample with the PDF Viewer and Grid control in two columns using Razor pages as per your requirement and shared the same in the following location, 
For OSX, Linux and Windows operating systems use the corresponding libraries as below, 
  • Syncfusion.EJ2.PdfViewer.AspNet.Core.OSX
  • Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux
  • Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows
Please find the below KB link for using PDF Viewer in Razor pages, 
Please find the UG documentation links for PDF Viewer and Grid control from the below, 
Please try this and revert us with more details about your requirement if you have any concerns on this. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon