Hi, i'm working in MVC4 we are using 3'rd party plugin to view documents(jpeg,pdf) in screen that works fine in chrome,firefox and IE10 and IE11 but it produces Script error 1028 for IE9 and IE8
documentViewer = new DocumentViewer({
handlerUri: "DocumentViewer.axd",
id: 'document-viewer',
renderingDpi: 196,
renderFormat: "jpeg",
preferences: {
toolbarVisible: true,
visibleNavigationControls: {
firstPage: true,
prevPage: true,
nextPage: true,
lastPage: true,
pageIndicator: true,
gotoPage: true,
}
,
visibleZoomControls: {
fixedSteps: true,
zoomIn: true,
zoomOut: true,
}
,
visibleFileOperationControls: {
downloadAs:false,
open: false,
download: true,
print: false,
}
}
,
events: {
beforePageChange: function (currentPage, newCurrentPage, cancel) {
},
afterPageChange: function (currentPage) {
},
beforeZoomChange: function (zoomPercentage) {
},
afterZoomChange: function (zoomPercentage) {
}
}
});
i'm getting error in the following line
gotoPage: true,
},
Please anyone can help me