Portal Engine
Version 3.x > Portal Engine > Multiple choice field type in transformation View modes: 
User avatar
Member
Member
docon - 11/12/2008 4:15:42 PM
   
Multiple choice field type in transformation
I have created a document type with a field called, development_type. The field has two options:
Family;Family
Elderly-Disabled;Elderly/Disabled

In a transformation I then try to print the documents values:
<td><%# Eval("development_type") %></td>

... but it is printing the value of the option, not the name, and if both options were checked and saved for the Document, I get them delimited with a pipe:
Family|Elderly-Disabled

Any way to get the option names, delimited with a comma-space?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/13/2008 7:47:41 AM
   
RE:Multiple choice field type in transformation
Hi,

Could you please try to follow this article - http://devnet.kentico.com/Knowledge-Base/API-and-Internals/Displaying-values-in-a-drop-down-list-field-within.aspx?


Best Regards,
Juraj Ondrus