This project is read-only.
1

Closed

PartialView not loaded with parameter

description

Accroding to the PartialView documentation here, I have the following which doesn't work (ParentID is a string property)

<mvvm:PartialView Controller="Coding" Action="Index" Parameter="{Binding ParentID}" />
    public class CodingController : Controller
    {
        public ActionResult Index(string ParentID)
        {
            return PartialView(new CodingListViewModel(ParentID));
        }

        public ActionResult Index()
        {
            return PartialView(new CodingListViewModel());
        }
   }
If I remove the Parameter attribute it would load the action and its view correctly.

<mvvm:PartialView Controller="Coding" Action="Index" Parameter="{Binding ParentID}" />

What can be wrong? I updated to the latest August release of the framework.

Thanks.
Closed Dec 4, 2016 at 6:46 AM by MarkusEgger

comments

MarkusEgger wrote Oct 25, 2015 at 8:47 PM

Is this still an issue? I have missed this report, but I think other changes we made should have fixed this, right?


Markus

wrote Dec 4, 2016 at 6:46 AM