2
Document viewer not loading after 5 or 6 instances
Question asked by Sandeep Mohanadasan - 4/3/2018 at 5:48 AM
Unanswered
Document is not loading after 5 or 6 instance on IE.It is working fine on chrome.
 
I have more than 20 links corresponds to different document in the application.I have to open the document viewer in new tab.It stops loading after 5 or 6 instance.
 
Note:. i am calling @this.RenderHead(documentViewer) method in view each time, as it is opening in new tab.
  

Below is my code(Version:  3.15.0.0)

----------------------------------------------------------
@using GleamTech.AspNet.Mvc
@using GleamTech.DocumentUltimate
@using GleamTech.DocumentUltimate.AspNet
@using GleamTech.DocumentUltimate.AspNet.UI

<!DOCTYPE html>

@{

var documentViewer = new DocumentViewer
{
Height = 900,
Document = ViewBag.URL//URL passed from controller

};

}
<html>
<head>
<title>Document Viewer</title>
@this.RenderHead(documentViewer)
</head>
<body>
@this.RenderBody(documentViewer)
</body>
</html>

Reply to Thread