Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Property of list object in page is not hidden even when attributed as [Ignore].

$
0
0

Property of list object in page is not hidden even when attributed as [Ignore]. In the code below, Name is visible in editor as non-editable field.

 [PropertyDefinitionTypePlugIn]
public class StudentProperty : PropertyListBase<TestimonialList>
{

[Ignore]
public virtual XhtmlString Name { getset; }


}
public class Student
{
}

public class StudentBlock : BlockData
{
[EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor<Student>))]
public virtual IList<Student> Students{ get; set; }
}


Viewing all articles
Browse latest Browse all 6894

Trending Articles