Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display PDF / HTML in IWModalWindow
#1
Hello,

according to the demo on GitHub, I tried the following:

with MW do begin

  Reset;

  Autosize := false;
  CloseButtonVisible := true;
  Draggable := false;
  WindowWidth := 80;
  WindowHeight := 80;
  Src := 'legacy.pdf';
  OnAsyncClick := nil;
  OnAsyncClose := nil;

  Show;

end;

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.

Something wrong on my side?  Huh


Thanks for solutions!!
The way to success is always under construction ... but i see a light at the end of the tunnel  Idea Big Grin
Reply


Messages In This Thread
Display PDF / HTML in IWModalWindow - by Lorbass - 02-12-2021, 01:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)