Try our conversational search powered by Generative AI!

Check if custom property is created/displayed on dynamic properties page and not on a standard page in edit mode

Vote:
 
Hi, I have created a custom property that is displayed on a standard page in edit mode. Is there any way to check if the same custom property is displayed on a dynamic properties page in edit mode? public override void CreateEditControls() /* - Used when rendering the property in edit mode. */ { ..... ..... if (????) { ..... /* Something is just created when custom property is displayed on dynamic properties page */ } else { ..... /* Something is just created when custom property is displayed on ordinary pages in edit mode */ } } Best Regards Anders
#15932
Dec 14, 2007 17:04
Vote:
 
Your datatype class (will inherit from EPiServer.Core.) has a property IsDynamicProperty.
#16660
Dec 17, 2007 9:29
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.