Skip to main content
deleted 57 characters in body; edited title
Source Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

View Renderings at Run Timerun-time

We have requirement in system where at run time weI need to load renderings and assign Data sourceDatasource at run time as we-time. We have two kind of renderings i.e Controller Renderingrenderings; Controller Rendering and View RenderingsView Rendering and we aream using this inbuilt function:

@Html.Sitecore().Rendering@Html.Sitecore().Rendering

How everHowever this function is only working for controller renderingsController Renderings not for view RenderingsView Renderings. Is there a way to solve this problem

Regards?

View Renderings at Run Time

We have requirement in system where at run time we need to load renderings and assign Data source at run time as we have two kind of renderings i.e Controller Rendering and View Renderings and we are using this inbuilt function

@Html.Sitecore().Rendering

How ever this function is only working for controller renderings not for view Renderings Is there a way to solve this problem

Regards

View Renderings at run-time

I need to load renderings and assign Datasource at run-time. We have two kind of renderings; Controller Rendering and View Rendering and am using this inbuilt function:

@Html.Sitecore().Rendering

However this function is only working for Controller Renderings not for View Renderings. Is there a way to solve this problem?

Source Link
user2332873
  • 635
  • 1
  • 5
  • 12

View Renderings at Run Time

We have requirement in system where at run time we need to load renderings and assign Data source at run time as we have two kind of renderings i.e Controller Rendering and View Renderings and we are using this inbuilt function

@Html.Sitecore().Rendering

How ever this function is only working for controller renderings not for view Renderings Is there a way to solve this problem

Regards