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
Hi Experts!
I am using Umbraco 7.1.2
I have data type "City" with a list of cities.
I have this code:
public void GetCity(IContent Content)
{
int id = Content.GetValue<int>("city");
string country = umbraco.library.GetPreValueAsString(Content.GetValue<int>("city"));
...
}
I just need to get a sortorder of prevalue. Like this: int sortorder = Content.GetSortOrderOfPreValue<int>("city");
Can anyone please help me here ?
Thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
how to get sortorder of prevalue ?
Hi Experts!
I am using Umbraco 7.1.2
I have data type "City" with a list of cities.
I have this code:
public void GetCity(IContent Content)
{
int id = Content.GetValue<int>("city");
string country = umbraco.library.GetPreValueAsString(Content.GetValue<int>("city"));
...
}
I just need to get a sortorder of prevalue. Like this: int sortorder = Content.GetSortOrderOfPreValue<int>("city");
Can anyone please help me here ?
Thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.