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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...