Skip to main content
added 35 characters in body
Source Link

Try this

Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource

Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource

You will get your datasource item (Home Page Rotator) idID.

Then you can obtain children and pass whole collection to the View via Model and display whatever you want.

Try this

Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource

You will get your datasource item (Home Page Rotator) id.

Then you can obtain children and pass whole collection to the View via Model and display whatever you want.

Try this

Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource

You will get your datasource item (Home Page Rotator) ID.

Then you can obtain children and pass whole collection to the View via Model and display whatever you want.

Source Link

Try this

Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource

You will get your datasource item (Home Page Rotator) id.

Then you can obtain children and pass whole collection to the View via Model and display whatever you want.