I have View with Model1 where I put Ajax.BeginForm() and in this View i have PartialView with Model2 where i put Ajax.BeginForm(). So only in first
Ajax.BeginForm()
You need to add those 2 files in you Partial View even if it is already in the Shared/_Layout.cshtml:
Or place this in your Partial: