0
Answer

Pass multiple values to partial View in .Net MVC

Prasant Jinaga

Prasant Jinaga

12y
1.7k
1
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