Binding Dropdown to DynamicTypes
Hi al
I'am currently binding a RadcomboBox to a DynamicType, build with the module builder. The problem is that if I use as Layout Template in the dropdown, then when I click the dropdown the selectedvalue becomes to "Telerik.sitefinity.DynamicTypes.Model.Produkter.Pris" (See attached image). How is it possible to bind the DynamicTypes to at LayoutTemplate in a dropdown?
Below is my dropdown markup with the LayoutTemplate
Best regards
Henrik
<
telerik:RadComboBox
ID
=
"ddprices"
runat
=
"server"
EmptyMessage
=
"Vælg produkt"
DataValueField
=
"id"
Width
=
"350"
>
<
ItemTemplate
>
<
asp:Label
Text='<%# Eval("Title")%>' runat="server" /> kr. <
asp:Label
ID
=
"Label1"
Text='<%# Eval("Pris")%>' runat="server" />
</
ItemTemplate
>
</
telerik:RadComboBox
>
Hi Again
After playing arround with the Eval and adding the DataText field it Works OK
Thanks in advance :-)
Best regards
Henrik