Dear Support,
I created Employee object
C#// Fields...
private Address _Address2;
private Address _Address1;
private string _FullName;
public string FullName
{
get
{
return _FullName;
}
set
{
SetPropertyValue("FullName", ref _FullName, value);
}
}
[Aggregated]
[ExpandObjectMembers(ExpandObjectMembers.Never)]
public Address Address1
{
get
{
return _Address1;
}
set
{
SetPropertyValue("Address1", ref _Address1, value);
}
}
[Aggregated]
[ExpandObjectMembers(ExpandObjectMembers.Never)]
public Address Address2
{
get
{
return _Address2;
}
set
{
SetPropertyValue("Address2", ref _Address2, value);
}
}
In Address2, I want to hide ZipPostal. On Module Model Editor, I cloned Address_DetvailView to Address_DetailView_Copy, and I hide ZIpPostal property on layout of Address_DetailView_Copy. On Module Model Editor -> Employee_DetailView -> Items -> Address2 -> View, I changed to Address_DetailView_Copy.
But it's not work. How to complete this task?
Many Thanks & Best Regards,
Hari Setyawan
Hello Hari,
I have replicated this behavior and it looks unexpected to me. We need some additional time to research the best ways of accomplishing your task. Please bear with us.
Hari,
In the meantime, you can implement a custom-tailored code solution described in the How to change ASPxObjectPropertyEditor's DetailView thread. I hope this helps.
Thanks Dennis, I will try it first