All partial views items are the same when using Nested Content in Partial view
I'm trying to make a webticker as a partial view which will take its settings and items from a document type under the parent page but all partial views has the same nested content items as the first request (all other properties are working fine).
@{
var mainWebticker = Umbraco.Content(Guid.Parse("bae542f8-5769-4eb3-aa39-d5e0b6b675e9"));
}
@Html.Partial("Webticker", mainWebticker)
@{
var webticker2 = Umbraco.Content(Guid.Parse("a6fa8c8e-fd5c-4b4f-b9e0-f324dcc053cc"));
}
@Html.Partial("Webticker", webticker2 )
All partial views items are the same when using Nested Content in Partial view
I'm trying to make a webticker as a partial view which will take its settings and items from a document type under the parent page but all partial views has the same nested content items as the first request (all other properties are working fine).
So what am I doing wrong?
Hi Wael
Can you show code of the partial view?
Alex
The following is a portion of it because its too long:
This is the result for multiple calls for the partial view (different options but with the same nested content items):
Recreating the document type for the nested content item again solved the problem.
I don't know what is the main reason for that. maybe this happen after importing the item document type.
I will try to reproduce this issue again to confirm the reason.
is working on a reply...