@Andras Framing actions with help [ChildActionOnly]prevents the action from being called through ajax and is necessary in some scenarios. About @ajbeaven, ask the question correctly, but in an ajax call situation, I find it best to decorate the action with an attribute [HttpPost].
Luck
source
share