جستجو
منو بسته
9 خرداد 1404

خطای The parameters dictionary contains a null entry for parameter 'currentCategoryId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult

8 سال پیش
#257
بعد از نصب تم با خطای زیر مواجه شدم:



The parameters dictionary contains a null entry for parameter 'currentCategoryId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult ManufactureNavigation(Int32m Int32)' kn 'Nop.Web.Controllers.CatalogController'. An optional parameter must be refrence type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters


@Html.Action('ManufactureNavigation", "Catalog", new {currentManufactureId = currentManufactureId})





نقل قول
0
8 سال پیش
#258
دستور زیر

@Html.Action('ManufactureNavigation", "Catalog", new {currentManufactureId = currentManufactureId})

تغییر یابد به :

@Html.Action('ManufactureNavigation", "Catalog", new {currentManufactureId = currentManufactureId, CurrentCategoryId = currentCategoryId })


بصورت زیر:

نقل قول
0
8 سال پیش
#259
اگر از آخرین نسخه تم استفاده کنید مشکل فوق را نخواهید داشت.
نقل قول
0
2 سال پیش
#4423
'in
نقل قول
0
09127857628