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

Multiple Models in one view

Hi,

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.

Thanks,
Maral

2 Replies

MA Maral September 19, 2019 01:07 PM UTC

I meant in one page.



AA Akshaya Arivoli Syncfusion Team 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. 
  
Regards, 
Akshaya 


Loader.
Live Chat Icon For mobile
Up arrow icon