I need help with the below error. It cant seem to find the WarehouseJavascript.js file which is outside the scripts folder.
See Question&Answers more detail:osI need help with the below error. It cant seem to find the WarehouseJavascript.js file which is outside the scripts folder.
See Question&Answers more detail:osThe URL /Views/Warehouse/WareHouseJavascript.js
is invalid, because you have to make request to controller instead of view.
So you should do following:
@Url.Action('Warehouse','Index')
assuming that controller name is Warehouse
nad action is Index