Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
As we solved on the previous post i did i have all the properties of a tab and its values, but when i list them i can't get the same order they have at Tab.
Does anyone know how to get the same order?
Thanks a lot
Hi. I remember the PropertyType.SortOrder property worked well for me.
Thanks Rodion, but i think your solution dont match with my code. I got this
@foreach (var t in DynamicModel.Attributes) { if (t.AttributeDefinition.AttributeGroup.Name == "Features") { string propAlias = t.AttributeDefinition.Alias; string propName = t.AttributeDefinition.Name; if (DynamicModel.Attributes[propAlias].DynamicValue != "") { <li><a href="#@propAlias"><span>@propName</span></a></li> } } }
Im trying to order the Properties on the tab "Features".
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Listing Properties of a Tab and Ordering
As we solved on the previous post i did i have all the properties of a tab and its values, but when i list them i can't get the same order they have at Tab.
Does anyone know how to get the same order?
Thanks a lot
Hi. I remember the PropertyType.SortOrder property worked well for me.
Thanks Rodion, but i think your solution dont match with my code. I got this
@foreach (var t in DynamicModel.Attributes)
{
if (t.AttributeDefinition.AttributeGroup.Name == "Features")
{
string propAlias = t.AttributeDefinition.Alias;
string propName = t.AttributeDefinition.Name;
if (DynamicModel.Attributes[propAlias].DynamicValue != "")
{
<li><a href="#@propAlias"><span>@propName</span></a></li>
}
}
}
Im trying to order the Properties on the tab "Features".
is working on a reply...