They are two different views, I try to modify codes as similar as problem code, but it still works correctly.
And I also solved my problem , to add ModelState.Clear() in controller.
//To get data from database with Primary Key
//model and td, both are the same class TimeDepositInt
public
ActionResult Detail(TimeDepositInt td)
{
var model = svc.GetTimeDepositInt(td.PortfolioID,td.TransNo,td.InterestType,td.SettleDate);
ModelState.Clear();
return
PartialView(model);
}
But I am still confused that.