I'm working in a migration to MVC .NET6 from .NET Framework, so in the Layout we use the following
@Html.Kendo().Splitter().Name("Splitter").Panes(p => {
p.Add().Content(RenderSection("Header", true).ToHtmlString());
p.Add().Content(RenderSection("Content", true).ToHtmlString());
});
As you can see we are using RenderSection() to take the HTML defined in other view. For each page we have the following code
But in .NET6 the same RenderSection() renders the content of the section. (has other behaviour)
There is other way to get the HTML from the sections?
Version: Telerik.UI.for.AspNet.Core.2020.2.513
MVC