![]() |
|
local render files - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: local render files (/thread-2957.html) |
local render files - Alain.verdier - 12-13-2022 Hello, My web server is installed on a Robot which for security reasons cannot be connected to the web. I used the “MultiSessionssNoCookie” example to display a data grid: With web access /// <summary> /// Add the files for the grid /// </summary> PageContext.AddLinkFile('https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css'); PageContext.AddScriptFile('https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js'); PageContext.AddToInitProc('$("#tbl1").DataTable();'); It works perfectly. Locally, with files in: /bin/wwwroot/css /bin/wwwroot/js PageContext.AddLinkFile('/css/jquery.dataTable.min.css'); PageContext.AddScriptFile('/js/jquery.dataTables.min.js'); PageContext.AddToInitProc('$("#tbl1").DataTable();'); I have the following error "class EIWinvalideRessourceException IW_JS_jquery.dataTables.min not found" Thanks for your help Alain RE: local render files - Alain.verdier - 12-13-2022 I made a mistake in the file name it works correctly /// <summary> /// Grid Setup /// </summary> PageContext.AddLinkFile('css/jquery.dataTables.min.css'); PageContext.AddScriptFile('js/jquery.dataTables.min.js'); Bonne journée |