why nop 4.20 Pluging DataTable is not working ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Below is the exception occurred

InvalidOperationException: The partial view 'Table' was not found. The following locations were searched:
/Views/Shared/Table.cshtml
/Pages/Shared/Table.cshtml
Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(string partialViewName, object model, ViewDataDictionary viewData, TextWriter writer)
4 years ago
Did you mention your controller as an admin controller?

If not, then inherit BaseAdminController instead of BasePluginController. Or just put [Area(AreaNames.Admin)] on top of your controller.
4 years ago
kshvijay wrote:
Below is the exception occurred

InvalidOperationException: The partial view 'Table' was not found. The following locations were searched:
/Views/Shared/Table.cshtml
/Pages/Shared/Table.cshtml
Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(string partialViewName, object model, ViewDataDictionary viewData, TextWriter writer)



have you added reference of nop.web and Nop.Web.Framework project into your plugin?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.