the following works but when i try to assign the eval to the text field, I get server tag is not formed correctly. Any idea how to get it to work?
<
telerik:RadListBox
ID
=
"AssignedFieldsGV"
runat
=
"server"
Width
=
"375px"
Height
=
"500px"
AllowTransferOnDoubleClick
=
"true"
ItemDataBound
=
"AssignedFieldsGV_ItemDataBound "
SelectionMode
=
"Multiple"
EnableDragAndDrop
=
"true"
AutoPostBack
=
"true"
>
<
HeaderTemplate
>
Assigned Fields
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
>
<
tr
>
<
td
style
=
"width:125px;"
> <
asp:Label
ID
=
"Label1"
runat
=
"server"
Text='<%# DataBinder.Eval(Container, "Text")%>' /></
td
>
<
td
style
=
"width:255px;"
> <
asp:TextBox
ID
=
"Label2"
runat
=
"server"
/> <%# DataBinder.Eval(Container, "Attributes['DisplayName']") %> </
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadListBox
>
for label2, when I try to assign it as Text I get server tag is not well formed, any idea whats wrong?
<
telerik:RadListBox
ID
=
"AssignedFieldsGV"
runat
=
"server"
Width
=
"375px"
Height
=
"500px"
AllowTransferOnDoubleClick
=
"true"
ItemDataBound
=
"AssignedFieldsGV_ItemDataBound "
SelectionMode
=
"Multiple"
EnableDragAndDrop
=
"true"
AutoPostBack
=
"true"
>
<
HeaderTemplate
>
Assigned Fields
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
>
<
tr
>
<
td
style
=
"width:125px;"
> <
asp:Label
ID
=
"Label1"
runat
=
"server"
Text='<%# DataBinder.Eval(Container, "Text")%>' /></
td
>
<
td
style
=
"width:255px;"
> <
asp:TextBox
ID
=
"Label2"
runat
=
"server"
Text
=
' <%# DataBinder.Eval(Container, "Attributes['
DisplayName']") %>' /> </
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadListBox
>