Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Section Headers within a GropuName tab


I want to set up just a line of text/html to further section off the properties within my GroupName tab. So when you click on the tab, instead of just all properties on that tab stacking one after the other, I want to be able to add a header or something that breaks it up even further. I know I can create two tabs, but wanted to try and reduce the amount of tabs. 

Is that possible?


Apr 21, 2015 19:33

What about grouping the properties in several local blocks?

[ContentType(GUID = "SomeGuid", AvailableInEditMode = false)]
public class MyFirstSectionBlock : BlockData
    public virtual string SomeSectionProperty { get; set; }

And then on your page type model:

[Display(Name = "Section 1")]
public virtual MyFirstSectionBlock MyFirstSection { get; set; }

The downside is you won't get the same on page edit experience with local blocks as you would if the properties is on the page itself. However, in some cases the on page edit experience for a local block is more desirable.

Apr 21, 2015 20:09
* 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.