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,
I created a custom dropdown list with prevalues like 'same tab, new tab'. I selected one value in content section for one content node. Now i need to get that selected value . How can I achieve this ?
Hi Thomas,
Where are you wanting to retrieve the selected value?
If you are wanting to retrieve the selected value on a template, something like the following should do the trick:
@Model.Content.GetPropertyValue<string>("propertyAlias")
or
@CurrentPage.PropertyAlias
I hope that helps.
Thanks, Dan.
Hi Dan,
Thanks for the help....Now it is working...
No problem. Glad I could help Thomas. Don't forget to mark the post as the answer if it answered your question to help other know :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to get selected prevalue of dropdown list in Umbraco 7 ?
Hi,
I created a custom dropdown list with prevalues like 'same tab, new tab'. I selected one value in content section for one content node. Now i need to get that selected value . How can I achieve this ?
Hi Thomas,
Where are you wanting to retrieve the selected value?
If you are wanting to retrieve the selected value on a template, something like the following should do the trick:
or
I hope that helps.
Thanks, Dan.
Hi Dan,
Thanks for the help....Now it is working...
No problem. Glad I could help Thomas. Don't forget to mark the post as the answer if it answered your question to help other know :)
Thanks, Dan.
is working on a reply...