Dear Team,
I am posting my entire model to the controller from the view,
this is what i did,
1.initially i am loading drop down list values using enumerable
2. after the view loading with default values , and I am entering textbox values
3. submitted
after that model passed to controller , but the model is contains only the default value s which is initially loaded not the value is entered by me
form my view
-------------
<%using (Ajax.BeginForm("Ince_setup", "Incentive", new AjaxOptions { HttpMethod = "POST"}))
{ %>
//controls
<%}%>
controller
-----------
[HttpPost]
public ActionResult Ince_setup(read_Incen Inc_plan, string command)
{
}
model
-----
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Distributor.Models
{
public class read_Incentive
{
property with get and set
}
i cant able to find the error
help me soon ASAP please,
Regards,
Velsamy A