Pass multiple values to partial View in .Net MVC
Hi,
I have a action result method which is been called while creating a new address
[HttpPost]
public ActionResult AddContactAddress(string test)
{
DemographicsViewModel GetDemographicsViewModl = GetDemographicsViewModel(string.Empty, string.Empty);
return PartialView("ChangeRequestContactAddress", GetDemographicsViewModl);
}
Now i want to pass test value and GetDemographicsViewModl both data to the Partial view "ChangeRequestContactAddress "
Could it be possible??Any suggestions on this.
Thanks,
Prasant