I have created one Plugin for nopCommerce 4.10. In that I want a view which will have kendo ui in Administration area. if I am using using... @{ Layout = "_AdminLayout"; }
I am getting error. _AdminLayout can't found (something like that).
Also, make sure you decorate the action name as well with the below [AuthorizeAdmin] [Area(AreaNames.Admin)] public virtual IActionResult MethodName() { } If you are making any jQuery.ajax calls from plugin, then also you need to decorate action in the same way that you did above eg. [AuthorizeAdmin] [Area(AreaNames.Admin)] [HttpGet] public JsonResult GetDetailsById(int id) { }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.