PartialWidgetPage.Kentico.MVC.Core 13.0.3

.NET Core 3.1
Install-Package PartialWidgetPage.Kentico.MVC.Core -Version 13.0.3
dotnet add package PartialWidgetPage.Kentico.MVC.Core --version 13.0.3
<PackageReference Include="PartialWidgetPage.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 PartialWidgetPage.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: PartialWidgetPage.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 PartialWidgetPage.Kentico.MVC.Core as a Cake Addin
#addin nuget:?package=PartialWidgetPage.Kentico.MVC.Core&version=13.0.3

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

Partial Widget Page

This tool allows you to render out a Widget (Page Builder) Page as a Partial.

Installation

Install the Nuget Package on your .net Core site.

Add this TagHelper to your View or _ViewImport.cshtml @addTagHelper *, PartialWidgetPage.Kentico.MVC.Core

You may also want to add a Using for the PartialWidgetPage namespace @using PartialWidgetPage

Usage

See the Repository's Readme for full usage. Here are some sample tag helpers:

<inlinewidgetpage initialize-document-prior="true" documentid="123" >
    @await Component.InvokeAsync("ShareableContentComponent", new { Testing = "Hello" })
</inlinewidgetpage>
<inlinewidgetpage initialize-document-prior="true" page=@Model.Page >
    @await Component.InvokeAsync("ShareableContentComponent", new { Testing = "Hello" })
</inlinewidgetpage>
<inlinewidgetpage initialize-document-prior="false">
    @await Component.InvokeAsync("SomeComponentThatInitializesDoc", new { DocumentID = 123 })
</inlinewidgetpage>
        <ajaxwidgetpage relative-url="/Custom/CustomResponse" />
        <ajaxwidgetpage documentid="123" />
        <ajaxwidgetpage page=@Model.MyTreeNode />
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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

Package Downloads
PartialWidgetPage.Kentico.MVC.Core.Widget

For Kentico 13 .net Core only, this is the widget that leverages the PartialWidgetPage.Kentico.MVC.Core libraries, allowing you to render pages through a widget

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
13.0.3 6,505 12/19/2020
13.0.2 686 12/18/2020
13.0.1 1,596 12/15/2020
13.0.0 990 12/15/2020

Parital Widget Page failed when rendering on a page that had no previous Page Builder Context.  Adjusted to account.