London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
[public class PropertyDivider : EPiServer.Core.PropertyNumber
{
// TODO: Override members of EPiServer.Core.PropertyNumber to provide your own logic.
public override EPiServer.Core.IPropertyControl CreatePropertyControl()
{
return new PropertyDividerControl();
}
}
------------
public class PropertyDividerControl : EPiServer.Web.PropertyControls.PropertyDataControl
{
/*
Override CreateXXXControls to control the appearance of the property data in different rendering conditions.
public override void CreateDefaultControls() - Used when rendering the view mode.
public override void CreateEditControls() - Used when rendering the property in edit mode.
public override void CreateOnPageEditControls() - used when rendering the property for "On Page Edit".
*/
public override void CreateEditControls()
{
string divTag = " ]
[ ]
Sincerly,
Fredrik Haglund,
INEXOR AB
http://blog.fredrikhaglund.se
Hi Fredrik and everyone else,
We're interested in the same thing as Tony is asking for so if Fredrik, or someone else who has a similar solution, could share the code for a separator property we'd really appreciate it.
Best regards
Martin