Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display PDF / HTML in IWModalWindow
#5
(02-12-2021, 01:23 PM)Lorbass Wrote: MW appears correctly but the PDF is not displayed. The window is empty.

The file is in wwwroot.


Another problem with loading an HTML file (MW.Src := 'legacy.html'):

The file is loaded and displayed. But all special characters (e. g. ä, ö, ü, ...) are displayed as question marks.

Open Developer Tools in your browser (F12) and select the network tab before clicking on the button that opens the MW. See the request for legacy.pdf and the status. This should give an indication of what is hapenning.

Regarding the special chars, convert the HTML file as UTF-8. All HTML files used directly by IW (templates, etc) must be UTF-8 files.
Reply


Messages In This Thread
Display PDF / HTML in IWModalWindow - by Lorbass - 02-12-2021, 01:23 PM
RE: Display PDF / HTML in IWModalWindow - by Alexandre Machado - 02-13-2021, 09:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)