Skip to content
kenticode

kenticode

kentico branding and more

  • About
  • Contact

Tag: code

Handling Legacy Links in Xperience by Kentico Using Kentico Middleware

Posted on June 17, 2026June 17, 2026

To handle legacy links from an old website in ‘Xperience by Kentico’, implement a custom middleware approach. While Kentico offers the IWebPageRedirectManager API, using […]

Continue Reading
Code #code #Kentico #middleware #redirect #routing #SEO #VanityURL #XbK

Create Tabs for Xperience by Kentico Using Page Builder Section

Posted on May 22, 2026

Tabs are one of the most popular and enduring UI (User Interface) design patterns in web development. Modeled after traditional manila file folders, tabs […]

Continue Reading
Code Tutorials #bootstrap #code #sections #tabs #XbK

Trim Text Based on Character Limit without Breaking Words

Posted on June 21, 2025

Trimming or truncating text to a character limit involves shortening a string to a specific length. This is useful for various purposes, like displaying […]

Continue Reading
Code #code #Kentico #kentico13 #string #text #trimming #truncating #XbK

Retrieve Image URL

Posted on June 18, 2025

When you retrieve an image path from Kentico 13 using item.GetProperty(“MyImage”).ToString(), it often returns a path starting with ~ (tilde), which is a virtual […]

Continue Reading
Code #code #images #kentico13 #query #URL

Retrieve Page Tags in XbK

Posted on May 5, 2025June 12, 2025

Let’s assume you developed a widget using Xperience by Kentico (XbK) that allows you to display various pages and you need to display their […]

Continue Reading
Code #categories #code #tags #taxonomy #XbK

GTM and URL Hash Fragments

Posted on March 20, 2025March 20, 2025

If you’re trying to create a trigger in Google Tag Manager (GTM) that tracks a page with a hash (#) within the URL you […]

Continue Reading
Tutorials #code #GTM

Generate RSS Feed Based on Retrieved Kentico Pages

Posted on January 4, 2024January 4, 2024

In Kentico 13, you can retrieve pages using DocumentHelper.GetDocuments and then generate a standard RSS feed based on the retrieved pages. The following code […]

Continue Reading
Code #api #code #kentico13 #routing #rss #xml

Escape Special Characters

Posted on January 4, 2024

In C# and Razor views (Kentico 12/13), you can escape special characters by using the Html.Raw() method or the @Html.Raw() helper in Razor syntax. […]

Continue Reading
Code #code #encoding #javascript #kentico13 #razor

Retrieve Pages Based on Certain Tags and Categories

Posted on January 3, 2024January 4, 2024

In Kentico 13, you can use the MultiDocumentQuery or DocumentQuery class to retrieve pages based on certain tags and categories. Using MultiDocumentQuery Replace “/YourPagePathHere/” […]

Continue Reading
Code #api #category #code #kentico13 #query #tags

Display Kentico Content Based on a Certain Tag Passed Through a Query String

Posted on November 22, 2023January 4, 2024

Displaying content based on a certain tag passed through a query string involves retrieving the tag value from the query string parameter and using […]

Continue Reading
Code #api #code #tags

Posts navigation

Older Posts
Recent Posts
  • Handling Legacy Links in Xperience by Kentico Using Kentico Middleware
  • Create Tabs for Xperience by Kentico Using Page Builder Section
  • Create a Navigation Menu for Xperience by Kentico
  • Trim Text Based on Character Limit without Breaking Words
  • Retrieve Image URL
Categories
  • Code
  • Themes
  • Tutorials
© kenticode - All Rights Reserved | Made in Chicago