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

page content is not displaying in viewer

hi ,
I am using pdf viewer .I am able to get the bytes in the stream but I am not able to see the content in the viewer.How much I increase the pixel also it is not displaying the content.
I defined like
Stream s = new MemoryStream((byte[])Model.data);
                 Html.Syncfusion().PdfViewer("PdfToolbar")
                .Load((Stream)s).Width(System.Web.UI.WebControls.Unit.Pixel(1000)).Render();

can u tell me why it is not displaying

1 Reply

MN Meikanda Nayanar Syncfusion Team March 8, 2013 06:59 AM UTC

Hi Charan,

Thank you for your interest in Syncfusion products.

We created a simple sample for PdfViewer and updated the sample in the below link.

Sample: PdfViewerMvc4Demo.zip

Please try this sample and let us know whether this suits your requirement. Otherwise could you please modify this sample and update us back. So that we can able to reproduce the scenario at our side.

Please let us know if you have any questions.

Regards,

Meikandan


Loader.
Live Chat Icon For mobile
Up arrow icon