Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So, I have multiple places where I pick "Customer" objects, and I'd like to do something like this in a template:
var customers = CurrentPage.CustomerItems;
Html.RenderPartial("customerListing", customers);
How do I get hold of the (typed) customers list in the partial view?
Best regards
/Jan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to pass parameters to a partial view?
So, I have multiple places where I pick "Customer" objects, and I'd like to do something like this in a template:
var customers = CurrentPage.CustomerItems;
Html.RenderPartial("customerListing", customers);
How do I get hold of the (typed) customers list in the partial view?
Best regards
/Jan
is working on a reply...