Kentico 13 Custom Widget Section : Render Editable Area in Widget

Kaur Nav asked on March 31, 2025 09:13

Hello!

I have created two widgets in Kentico 13 (.NET Core). In my first widget, I need to add an editable area so that I can place other widgets or tables inside it dynamically. However, as per my understanding, Kentico allows editable areas only inside page templates, not within widgets or components.

I tried implementing it like this:

<section class="solutionInfo">
<h2>@Html.Raw(Model.Title)</h2>
<p>@Html.Raw(Model.SubTitle)</p>
 @await Html.Kentico().EditableAreaAsync("ContentZonArea")

But this does not seem to work properly. Is there a way to achieve this in Kentico 13? How can I add an editable area inside a widget?

Any help would be greatly appreciated!

Thanks!

   Please, sign in to be able to submit a new answer.