# Custom control on layout designer

**URL:** <https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [August 26, 2016, 1:13am UTC](https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380 "2016-08-26T01:13:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [August 26, 2016, 1:13am UTC](https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380/1 "2016-08-26T01:13:26Z")

</div>

Hi,

I developed a custom control and everything works fine in runtime, but i can´t show it on layout designer in development time.

It´s possible to show a custom control on layout designer? if yes, how i can do it?

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [September 2, 2016, 8:54am UTC](https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380/2 "2016-09-02T08:54:47Z")

</div>

Hi Frederico,

do you see it in the control palette of Layout Painter?  
If not, please have a look at the NaturalAjaxDemos. They also contain custom controls. Open the editor\_nadc.xml file. Then search for “taggroup”. You’ll find something like:

for each of the custom controls. This means: In the control palette of Layout Painter there will be a group “NJXDemos” and in this group the custom control will appear.

Or does your control is not rendered in the preview? If you wrote a custom control using Java Script then you need to switch to “HTML Preview” because your control is only implemented for html.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [September 3, 2016, 3:24am UTC](https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380/3 "2016-09-03T03:24:52Z")

</div>

Hi Christine,

Switch to “HTML Preview” solved my problem.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:36pm UTC](https://techcommunity.softwareag.com/t/custom-control-on-layout-designer/190380/4 "2021-04-02T15:36:49Z")

</div>


