I have a RadListBox in an editable FormTemmplate inside a RadGrid. The ListBoxItems have checkboxes, and their data values are populated with a SQL DataSourceId. When I select a grid row to edit, and the form populates, the ListBoxItem that matches to the data record is highlighted (selected), but its checkbox is not checked as it should be. I've looked for a property to control this without luck. How can I bind the ListBox such that it will check 'on' the selected ListBoxItem(s)?
This is the html:
Thanks, Dan
This is the html:
<
telerik:RadGrid
ID
=
"rgTodos"
runat
=
"server"
EnableAJAX
=
"True"
AllowAutomaticUpdates
=
"False"
OnItemCommand
=
"rgTodos_ItemCommand"
>
<
MasterTableView
CommandItemDisplay
=
"Bottom"
>
<
EditFormSettings
EditFormType
=
"Template"
>
<
FormTemplate
>
<
table
style
=
"width: 80%"
align
=
"center"
>
<
telerik:RadListBox
ID
=
"listWho"
runat
=
"server"
DataSourceID
=
"dsTodoWho"
DataTextField
=
"wholist"
DataValueField
=
"who"
Height
=
"100px"
Width
=
"169px"
Skin
=
"Vista"
CheckBoxes
=
"true"
SelectedValue='<%# Bind("who") %>'
SelectionMode="Multiple">
</
telerik:RadListBox
>
Thanks, Dan