PageBuilderContainers.Kentico.MVC.Core 13.0.3

This is the Page builder Container Kentico Xperience 13 MVC.Net Core.   You must install PageBuilderContainers.Kentico on the admin/mother application along with this.

Install-Package PageBuilderContainers.Kentico.MVC.Core -Version 13.0.3
dotnet add package PageBuilderContainers.Kentico.MVC.Core --version 13.0.3
<PackageReference Include="PageBuilderContainers.Kentico.MVC.Core" Version="13.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PageBuilderContainers.Kentico.MVC.Core --version 13.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PageBuilderContainers.Kentico.MVC.Core, 13.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PageBuilderContainers.Kentico.MVC.Core as a Cake Addin
#addin nuget:?package=PageBuilderContainers.Kentico.MVC.Core&version=13.0.3

// Install PageBuilderContainers.Kentico.MVC.Core as a Cake Tool
#tool nuget:?package=PageBuilderContainers.Kentico.MVC.Core&version=13.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Page Builder Containers for .Net MVC Core

This tool mimics the older Portal engine "Webpart Containers" which allowed you to wrap your various widgets/webparts in a structured container. These structured containers were managed in the Kentico Admin interface.

This package is for the MVC.Net Core site, you should install PageBuilderContainers.Kentico on the Admin/mother application before using this.

Installation

  • Open your MVC.Net core web app, and install this nuget package.
  • In your _ViewImports.cshtml file, add @addTagHelper *, PageBuilderContainers.Kentico.MVC.Core
  • In your Startup.ConfigureServices, add this implementation: services.AddSingleton(typeof(IPageBuilderContainerHelper), typeof(PageBuilderContainerHelper));

Usage

In your razor views, use the <containered></containered> tag as such:

<!-- Example of manually setting container, title, class, and custom content -->
<containered container-name="TestContainer" container-title="Test Title" container-css-class="SomeClass" container-custom-content="Custom Content">TIHS IS THE MIDDLE</containered>

<!-- Example of passing a model that inherits either IPageBuilderContainerProperties and/or IHtmlBeforeAfterContainerProperties -->
    <containered container-name="TestContainer" container-model="Model.ContainerModelItem">This wraps the custom model</containered>

Page Builder Containers for .Net MVC Core

This tool mimics the older Portal engine "Webpart Containers" which allowed you to wrap your various widgets/webparts in a structured container. These structured containers were managed in the Kentico Admin interface.

This package is for the MVC.Net Core site, you should install PageBuilderContainers.Kentico on the Admin/mother application before using this.

Installation

  • Open your MVC.Net core web app, and install this nuget package.
  • In your _ViewImports.cshtml file, add @addTagHelper *, PageBuilderContainers.Kentico.MVC.Core
  • In your Startup.ConfigureServices, add this implementation: services.AddSingleton(typeof(IPageBuilderContainerHelper), typeof(PageBuilderContainerHelper));

Usage

In your razor views, use the <containered></containered> tag as such:

<!-- Example of manually setting container, title, class, and custom content -->
<containered container-name="TestContainer" container-title="Test Title" container-css-class="SomeClass" container-custom-content="Custom Content">TIHS IS THE MIDDLE</containered>

<!-- Example of passing a model that inherits either IPageBuilderContainerProperties and/or IHtmlBeforeAfterContainerProperties -->
    <containered container-name="TestContainer" container-model="Model.ContainerModelItem">This wraps the custom model</containered>

Release Notes

Updated to include new dependency requirement on Views package, again.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PageBuilderContainers.Kentico.MVC.Core:

Package Downloads
BootstrapLayoutTool.PageBuilderContainered.Kentico.MVC.Core
Bootstrap Layout tool with Page Builder Containers support. Must install the PageBuilderContainers.Kentico on the admin to leverage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
13.0.3 308 11/15/2020
13.0.2 239 11/15/2020
13.0.1 99 11/13/2020
13.0.0 115 11/13/2020