sina.islam wrote:The easiest solution is place the partial view where the application is searching.If you do not want to do this then at view where you initialize the partial view change it like
@Html.Partial("~/Plugins/Misc.AvenirTelecom/Views/AvenirTelecomView/_ChoiceModal.cshtml")(@Html.Partial("~/Plugins/PluginName/Views/Innerfolderofview/_YourPartialView.cshtml")).
Or at controller side
return PartialView("~/Plugins/Misc.AvenirTelecom/Views/AvenirTelecomView/PluginProductTemplate.Simple.cshtml",model);
Hello Sina.
I am also having this problem. I used the method that you suggest here, but it is still not working. I am getting this error:
The partial view '~/Plugins/Misc.LakesideImport/Views/LakesideImport/_ImportProductFile.FileInput' was not found or no view engine supports the searched locations. The following locations were searched:
~/Plugins/Misc.LakesideImport/Views/LakesideImport/_ImportProductFile.FileInput
This is what I use to call the partial view:
@Html.Partial("~/Plugins/Misc.LakesideImport/Views/LakesideImport/_ImportProductFile.FileInput")
What I am puzzled over is, it says that it searched the location of where the view file is and it is there.
Here is a picture of my hard drive folder of where the Windows file explorer shows it.
I just cannot figure out why it is not finding the view file.
Any help that you can provide to resolve this issue would be gratefully appreciated.
Thanks,
Tony