2
Firefox Compatibility issue
Problem reported by Shanjoy Shajan - 9/18/2020 at 12:04 AM
Resolved
Hi ,
I am doing a .net mvc project . I am facing a issue only  in firefox  and all other browser its compalible,no issue found. My code in cshtml :           @{var documentViewer = new DocumentViewer
                                                                                                        {
                                                                                                            Width = 800,
                                                                                                            Height = 600,
                                                                                                            Document = new Uri(System.Configuration.ConfigurationManager.AppSettings["urlAddress"] + evidence.FileName).LocalPath,
                                                                                                            DeniedPermissions = DocumentViewerPermissions.All
                                                                                                        };
                                                                                                    }
                                                                                                    @this.RenderHead(documentViewer)
                                                                                                    @this.RenderBody(documentViewer)
                                                                                                    @*@{
                                        documentViewer.Document = new Uri(System.Configuration.ConfigurationManager.AppSettings["urlAddress"] + evidence.FileName).LocalPath;
                                        this.RenderBody(documentViewer);
                                    }*@
                                                                                                </div>

Please help me to find the issue and i am attaching the current scene in firefox with this thread    

7 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Press F12 to open console in browser and look for the error messages.
If you see a "cross domain iframe" related error, see this:
1
Shanjoy Shajan Replied
I couldn't see any error in console realted to docviewer , its just show grey box instead of content in pdf. This issue only occuring in firefox browser only .Please help me out!
0
Cliff Akers Replied
Any answer on this one? I am experiencing the same issue. 
0
Shanjoy Shajan Replied
@Cliff Akers   , Do you able to solve the issue , if done please help too
0
Cliff Akers Replied
No, I have not solved this issue. We need help from GleamTech support.
0
Cem Alacayir Replied
Employee Post
There should be errors in the console.
Refresh your page that hosts DocumentViewer after you press F12 to open console in browser  
0
Cem Alacayir Replied
Employee Post Marked As Resolution
If you are using an iframe and cross-domain url, see the announcement here:

If not:
Well v5.1.6 is from November 27, 2019, update to a more recent version like 5.8.0.
There is no known issue with Firefox unless your Firefox is very old.
You can verify that your browser is working on live demo:

Reply to Thread