12-13-2022, 08:03 AM
(This post was last modified: 12-13-2022, 08:14 AM by Alain.verdier.)
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
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