jahlxx Posted September 26, 2017 Posted September 26, 2017 Hi. How can I hide elements here? [see Image 1] And how can I prevent this? [see Image 2] Sometimes, the pdf is being generated in background, and when is still incomplete, shows this error and the user can be confused. Thanks. Quote
Sherzod Posted September 26, 2017 Posted September 26, 2017 Hi, How can I hide elements here? [see Image 1] At the moment you can add these CSS classes in viewer.css: (\FMSoft\Framework\uniGUI\uni-1.0.0.xxxx\pdf.js\web) .download { display:none !important; } .print { display:none !important; } .openFile { display:none !important; } Or by changing viewer.html by adding hidden class... Please, for check, do not forget to clear your browser's cache A similar request: http://forums.unigui.com/index.php?/topic/8894-unipdfframe-improvement-request/ Try... Best regards, Quote
Sherzod Posted September 27, 2017 Posted September 27, 2017 Hi, And how can I prevent this? [see Image 2] Sometimes, the pdf is being generated in background, and when is still incomplete, shows this error and the user can be confused. How can we reproduce this ?! Quote
jahlxx Posted September 28, 2017 Author Posted September 28, 2017 Hi, How can we reproduce this ?! Hi. For test, you can generate a large pdf in background with fastreports, and try to show in a pdfframe while the report is exported to pdf. Quote
artem_niko Posted January 13, 2023 Posted January 13, 2023 On 9/27/2017 at 1:18 AM, Sherzod said: Hi, At the moment you can add these CSS classes in viewer.css: (\FMSoft\Framework\uniGUI\uni-1.0.0.xxxx\pdf.js\web) .download { display:none !important; } .print { display:none !important; } .openFile { display:none !important; } Or by changing viewer.html by adding hidden class... Please, for check, do not forget to clear your browser's cache A similar request: http://forums.unigui.com/index.php?/topic/8894-unipdfframe-improvement-request/ Try... Best regards, Hello! How hide this button? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.