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
Dear Umbracians,
I have Drop Down list property with Prevalues added, I want it to display all the values in the Partial View frontend.
Please help.
Thanks
It got working with below code
@using umbraco.cms.businesslogic.datatype @foreach (var categoryPrevalue in ApplicationContext.Services.DataTypeService.GetPreValuesByDataTypeId(1203).ToList()) { <option value="@categoryPrevalue.ToLower()">@categoryPrevalue</option> }
Link: https://stackoverflow.com/questions/25578849/umbraco-get-prevalues-in-a-data-type
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
Rendering DrowDown Prevalues from Backoffice
Dear Umbracians,
I have Drop Down list property with Prevalues added, I want it to display all the values in the Partial View frontend.
Please help.
Thanks
It got working with below code
Link: https://stackoverflow.com/questions/25578849/umbraco-get-prevalues-in-a-data-type
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.