PartialWidgetPage.Kentico.MVC
13.0.1
For Kentico 13 Full Framework only, provides Html helpers and interfaces to render other pages (with widgets) in your page. Useful for things like Mega Menus, editable header adn footers, tabs, accordions, etc.
See the version list below for details.
Install-Package PartialWidgetPage.Kentico.MVC -Version 13.0.1
dotnet add package PartialWidgetPage.Kentico.MVC --version 13.0.1
<PackageReference Include="PartialWidgetPage.Kentico.MVC" Version="13.0.1" />
paket add PartialWidgetPage.Kentico.MVC --version 13.0.1
#r "nuget: PartialWidgetPage.Kentico.MVC, 13.0.1"
Partial Widget Page
For Kentico 13 .net 4.8 only. Allows you to render widget pages within other pages either server side or client side. See Project site for full documentation.
Installation [.Net Full Framework]
- Install the [
PartialWidgetPage.Kentico.MVC
] Nuget Package on your .net 4.8 MVC Site. - Register your dependency injections for the
IPartialWidgetPageHelper
andIPartialWidgetRenderingRetriever
(you'll have to supply your own implementation ofIPartialWidgetRenderingRetriever
), make sure that these are registered for both the main project assembly and the Partial Widget Assembly. Here's what was in myApplicationConfig.RegisterFeatures
:
// Register AutoFac Items
var autofacBuilder = new ContainerBuilder();
autofacBuilder.RegisterType<PartialWidgetPageHelper>().As<IPartialWidgetPageHelper>();
autofacBuilder.RegisterType<CustomPartialWidgetRenderingRetriever>().As<IPartialWidgetRenderingRetriever>();
// Register Dependencies for Cache, pass in any assemblies you wish to hook up
DependencyResolverConfig.Register(autofacBuilder, new Assembly[] { typeof(ApplicationConfig).Assembly, typeof(PartialWidgetPageHelper).Assembly });
// Set Autofac Dependency resolver to the builder
DependencyResolver.SetResolver(new AutofacDependencyResolver(autofacBuilder.Build()));
- Consider adding
<add namespace="PartialWidgetPage"/>
to the web.config in your Views to get the Html helper extensions - Allow the widget with code name
PartialWidgetPage.PartialWidget
into any zones with a specified widget list.
Partial Widget Page
For Kentico 13 .net 4.8 only. Allows you to render widget pages within other pages either server side or client side. See Project site for full documentation.
Installation [.Net Full Framework]
- Install the [
PartialWidgetPage.Kentico.MVC
] Nuget Package on your .net 4.8 MVC Site. - Register your dependency injections for the
IPartialWidgetPageHelper
andIPartialWidgetRenderingRetriever
(you'll have to supply your own implementation ofIPartialWidgetRenderingRetriever
), make sure that these are registered for both the main project assembly and the Partial Widget Assembly. Here's what was in myApplicationConfig.RegisterFeatures
:
// Register AutoFac Items
var autofacBuilder = new ContainerBuilder();
autofacBuilder.RegisterType<PartialWidgetPageHelper>().As<IPartialWidgetPageHelper>();
autofacBuilder.RegisterType<CustomPartialWidgetRenderingRetriever>().As<IPartialWidgetRenderingRetriever>();
// Register Dependencies for Cache, pass in any assemblies you wish to hook up
DependencyResolverConfig.Register(autofacBuilder, new Assembly[] { typeof(ApplicationConfig).Assembly, typeof(PartialWidgetPageHelper).Assembly });
// Set Autofac Dependency resolver to the builder
DependencyResolver.SetResolver(new AutofacDependencyResolver(autofacBuilder.Build()));
- Consider adding
<add namespace="PartialWidgetPage"/>
to the web.config in your Views to get the Html helper extensions - Allow the widget with code name
PartialWidgetPage.PartialWidget
into any zones with a specified widget list.
Dependencies
-
- Antlr (>= 3.5.0.2)
- Kentico.Xperience.AspNet.Mvc5.Libraries (>= 13.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Data.OData (>= 5.8.4)
- Microsoft.Data.Services.Client (>= 5.8.4)
- Microsoft.Extensions.Options (>= 3.1.8)
- Microsoft.Owin.Security (>= 4.1.1)
- Microsoft.Owin.Security.Cookies (>= 4.1.1)
- Microsoft.Owin.Security.OAuth (>= 4.1.1)
- Microsoft.Rest.ClientRuntime (>= 2.3.20)
- Microsoft.Web.Xdt (>= 2.1.1)
- Newtonsoft.Json (>= 12.0.3)
- NuGet.Core (>= 2.14.0)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.7.1)
- System.ServiceModel.Primitives (>= 4.6.0)
- System.Spatial (>= 5.8.4)
- WebGrease (>= 1.6.0)
- WindowsAzure.Storage (>= 7.2.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
13.0.3 | 115 | 12/19/2020 |
13.0.2 | 54 | 12/18/2020 |
13.0.1 | 98 | 12/15/2020 |
12.29.9 | 116 | 10/2/2020 |
12.29.8 | 96 | 9/2/2020 |
12.29.7 | 285 | 6/17/2020 |
12.29.6 | 113 | 6/17/2020 |
12.29.5 | 147 | 6/15/2020 |
12.29.4 | 1,531 | 10/10/2019 |
12.29.3 | 227 | 9/20/2019 |
12.29.2 | 265 | 8/9/2019 |
12.29.1 | 209 | 8/8/2019 |
12.0.0.1 | 187 | 7/15/2019 |
12.0.0 | 184 | 7/15/2019 |