API Questions on Kentico API.
Version 5.x > API > Enter text for CMSEditableRegion Control in Parent Page. View modes: 
User avatar
Member
Member
lethanhclub-gmail - 11/8/2011 8:24:55 AM
   
Enter text for CMSEditableRegion Control in Parent Page.
I create a template used for Parent page. After I create a child page inherited by parent page.
In Parent Page, I add a webpart (included CMSEditableRegion control). But I can not enter text for Parent Page (only Child page can enter text). I need to add text for Parent Page to inherit to Child Page. So Could anyone help me resolve this issue?


User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/9/2011 5:57:44 AM
   
RE:Enter text for CMSEditableRegion Control in Parent Page.
Hello.

You need to use "InheritContent" property of your CMSEditableRegion control. If set, the region uses the content inheritance (uses the content from the first non-empty parent).

Best Regards,
Radek Macalik

User avatar
Member
Member
lethanhclub-gmail - 11/12/2011 3:04:23 AM
   
RE:Enter text for CMSEditableRegion Control in Parent Page.
kentico_radekm wrote: Hello.

You need to use "InheritContent" property of your CMSEditableRegion control. If set, the region uses the content inheritance (uses the content from the first non-empty parent).

Best Regards,
Radek Macalik


Yes, I did it. Into html code, InheritContent=true, but Child page not inherit by Parent Page.

User avatar
Member
Member
lethanhclub-gmail - 11/12/2011 5:19:45 AM
   
RE:Enter text for CMSEditableRegion Control in Parent Page.
That's:
<cms:CMSEditableRegion ID="cmsEditableRegion" runat="server" InstanceGUID="0A60A46B-E179-4BBC-8610-3CCEDE3D1B86" RegionType="HtmlEditor" InheritContent="true" />

So child page not inherit by parent page

User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/28/2011 9:33:55 AM
   
RE:Enter text for CMSEditableRegion Control in Parent Page.
Hello.

It seems that text is visible only on Live site (Live site mode), not on Page tab. However, it behaves incorrectly, so I submitted it as a bug and we will fix it. Thank you for your understanding.

Best Regards,
Radek Macalik