Questions tagged [kentico-mvc]

Kentico is a CMS using asp.net that enables users to build websites, online stores, and community sites. To use this tag, the question has to be about Kentico development using MVC, rather than using the Portal Engine or ASPX templates.

Up to and including version 11, Kentico has provided three development modules; MVC, the Portal Engine, and ASPX templates. With version 12, they have dropped ASPX templates and are now making more of a push for MVC.

When developing under the MVC model, you work with two separate applications – the Kentico administration is entirely separated from the MVC application serving content, allowing you to fully leverage the separation of concerns for which the MVC approach is known.

The advantages of using this development module are:

  • Model-View-Controller architecture.
  • The option of using a View Engine of your choice.
  • Full control over the implementation.
  • Two applications, allowing for greater separation of concerns.
  • Greater flexibility when designing websites and no dependence on existing implementations, but at the price of additional development time.

Disadvantages are:

  • Not all Kentico features are supported for MVC development
  • Requires knowledge of ASP.NET MVC and programming.

References

66 questions
3
votes
1 answer

Multisite blog post creation in Kentico CMS

I need some guidance on how to achieve the following functionality on the Kentico Xperience 13. The goal is to be able to create a blog post (article page) and have a dropdown to select the category of the post and more importantly to select the…
Mishka
  • 502
  • 5
  • 15
3
votes
2 answers

Access Kentico 12 Alternative URL value

I'm looking for a way to retrieve the alternative URL value for a page in kentico. Having followed this example to enable Alternative Urls in Kentico 12 SP :…
Timtek
  • 65
  • 1
  • 7
2
votes
1 answer

How to create a new culture version for multiple pages in Kentico at one go?

I am configuring a new language version on the existing Kentico 12 website. I can easily create a new culture version of a page by copying content from the already existing language, but a problem is that this feature is available at a page level…
Kate Orlova
  • 3,225
  • 5
  • 11
  • 35
2
votes
1 answer

Text editor links leading with ~ character and images are not rendering correctly

I am running Kentico 12.0.24 MVC and there is an issue how the inserted images render using the text editor. When inserting images using the Text editor in Kentico CMS, I am able to see the inserted images inside the Text Editor, but when viewing…
2
votes
4 answers

How to use BizForms in Kentico 12 without page builder

Kentico 12 only supports forms using the "Form" page-builder widget out of the box. Can anyone provide examples of how one might utilise BizForms on an MVC _Layout.cshtml or in pages that do not use the page builder? Acceptance criteria: Must allow…
Hades
  • 1,975
  • 1
  • 23
  • 39
1
vote
4 answers

Kentico12 Additional assemblies have to be registered before application pre-initialization

The current project I have inherited is a Kentico 12 MVC implementation. I successfully got the CMS Admin site running. It currently references a bunch of assemblies in a Lib folder. They are version 12.0.29. I decided that I wanted to change to use…
tone
  • 1,374
  • 20
  • 47
1
vote
0 answers

For POST actions use HtmlHelper extension method Html.Kentico().PageData() to persist the page context

Hi Please assist I am building .net core site with kentico 13. I am getting this error below Missing page context data. If required use IPageDataContextInitializer.Initialize method to initialize the context manually. For POST actions use HtmlHelper…
1
vote
1 answer

Kentico MVC - How to get Home Page URL in _Layout.cshtml

I am trying to get a home page url in layout navigation so I can get back to home page to be precise, so that users can get to home page very easily. I now I can just write /home but I want it to be like dynamically inputed if you know what I…
Samke11
  • 385
  • 5
  • 17
1
vote
0 answers

Kentico - Disable Page Level Attachments

Is there a way to disable page attachments in Kentico without using the UI Personalization? because our current site doesn't have the UI Personalization enabled but still want to disable page level attachments.
chamara
  • 12,649
  • 32
  • 134
  • 210
1
vote
1 answer

Cannot implicitly convert type 'Kentico.Web.Mvc.IHtmlContentProxy' to 'System.Web.HtmlString'

Getting these error in my Razor viewpage: HtmlString GetActionUrl() { return Url.Kentico().AuthenticateUrl(Url.Action("Upload", "ImageUploader", new { pageId = Context.Kentico().PageBuilder().PageIdentifier }), false); } Added…
sapana
  • 46
  • 6
1
vote
1 answer

Kentico Xperience Event - how to add new event

Kentico 13 MVC Core site build Successful installation of: Xperience.Core.Events .NET Core application companion NuGet package CMS application Events are being utilized in an intranet scenario. Look for best approach to allow staff add new events…
1
vote
1 answer

Missing Dictionaries on Kentico 13

I followed a default process to install kentico 13 ASP.NET CORE locally, selected a new site. Then upgraded to 13.0.5. Everything compiled fine and worked as expected. When I tried to deploy the CMSApp project to azure using visual studio, I got…
1
vote
1 answer

Page Type of a class name not found exception

I am new to Kentico and going through the Kentico 12 MVC Training Course using the MedioClinic sample project. On running the MVC project for live site I am getting the below error. Could someone please help me with this. Server Error in…
1
vote
1 answer

How to force a Live Url (AbsoluteUrl) to update on a Kentico page type

I'm looking for information about how the Live Url (Absolute Url on the back end) regenerates and what triggers it to update. Using Kentico 12SP MVC I have a pretty normal NewsArticle page type that uses a custom url pattern of "/news/{% UrlSlug %}"…
WhiteleyJ
  • 1,393
  • 1
  • 22
  • 29
1
vote
1 answer

How do I add kentico's page builder in my application?

I am trying to add Kentico's page builder to my application and view the editable area on the CMS side. The steps I followed were: Creating a content-only page…
Hussam Ahmed
  • 413
  • 1
  • 5
  • 17
1
2 3 4 5