This gets me
Jerry.sliderValue which happens to be an IEnumerable
I then want to pass it to a partial
@Html.Partial(viewpath, Jerry.SliderValue)
but that gives me a
The model item passed into the dictionary is of type 'Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[XXX.Web.Models.Cms.Content.Slide]'
passing correct object to partial
I have an umbracoViewPage
This gets me Jerry.sliderValue which happens to be an IEnumerable
I then want to pass it to a partial
@Html.Partial(viewpath, Jerry.SliderValue)
but that gives me a The model item passed into the dictionary is of type 'Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[XXX.Web.Models.Cms.Content.Slide]'
Help me i'm missing something simple ..
What does the @model decloration on your Partial look like?
also, you seem to be interchanging Jerry.sliderValue and Jerry.SliderValue
is working on a reply...