in my 4.60.4 nopcommerce version I have added a customer page for work with products (crud operation) but when I insert a table and I go to the page I receive this generic error:
DataTables warning: table id=productpictures-grid - Ajax error. For more information about this error, please see http://datatables.net/tn/7.
In devtools of chrome i find an error in a js file
https://drive.google.com/file/d/1MyFGBiN2xi1Q6Q4Bm1KyVdMypunkqW_D/view?usp=drive_link
I think one file is missing but i don't know which file. I added table.cshtml in views\shared and I copied the code from Admin/Product/Edit where the table is ok and I not have ajax error.
I have added a break point in
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "productpictures-grid",
but the run don't arrive here, the error is before.
If I compare with table page inside the admin area I find a difference in lib_npm, how can I add this folder in my page?
https://drive.google.com/file/d/1MyFGBiN2xi1Q6Q4Bm1KyVdMypunkqW_D/view?usp=drive_link
thank you for the answers
nello