Click here to Skip to main content
15,037,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Team,

I am getting the following error while call the controller method form the view via http post
"NetworkError: 500 Internal Server Error - http://localhost:50763/Incentive/Incentive_Plan"

i am using form action like this in view
<%using (Ajax.BeginForm("Plan", "Incent", new AjaxOptions { HttpMethod = "POST", OnComplete = "", UpdateTargetId = "plan_tab" }))
  { %>



actionmethod like this
public ActionResult Plan(respective ins, string command)

the problem is, respectiveis my my model name

if i call the method not getting fired,
instead of that

if i am using like this
public ActionResult Plan(> string command)

now getting fired correctly

simple note :
if passing the model then only not getting fired.
help me soon pls

Velsamy A
Updated 1-Feb-16 22:33pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900