Try our conversational search powered by Generative AI!

How to add radio button in episerver editor view.and how it will be handled from view

Vote:
 

How to add radio button in episerver editor view and how it will be called from view

#170776
Oct 29, 2016 6:18
Vote:
 

Normally you use the SelectOne attribute to create a dropdown instead

http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/8/Content/Properties/Property-types/Single-or-multiple-list-options/

You can probably make a radiobutton list as well but normally not worth the work since the dropdown works just as well...

Output selection using the standard HTML.PropertyFor normally...

#170777
Edited, Oct 29, 2016 9:53
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.