Apr 04, 2016, 7:22 AM
panel loader + viewerjs
Hi
I have a panel with a loader that I need to load different PDF's in using viewerjs.
It all works fine untill I have to pass parameters to viewerjs..
asp:
I have a panel with a loader that I need to load different PDF's in using viewerjs.
It all works fine untill I have to pass parameters to viewerjs..
asp:
<ext:Panel runat="server" Region="Center" ID="panel1">
<Loader runat="server" AutoLoad="false" Mode="Frame">
<LoadMask ShowMask="false"></LoadMask>
</Loader>
</ext:Panel>
js:loader.load({ url: './js/#../js/1.pdf', params: { zoom: 'page-width' } });
According to viewerjs you can pass parameters to the page like this(this will set the zoom to full page):../js/?zoom=page-width#../js/1.pdf
However when I do it in EXT.net the url is:1.pdf?_dc=1459753225823&zoom=page-width