I would like to do a manual edit of a listview.
I am looking at the Hashtable values and I do not see my checkbox key/value pairs.
I have a checkbox field in the EditITemTemplate called getsMail. I am just displaying the values in a literal for now. textboxes and comboboxes show fine. But I need the checkbox values.
thanks, Marty
I am looking at the Hashtable values and I do not see my checkbox key/value pairs.
I have a checkbox field in the EditITemTemplate called getsMail. I am just displaying the values in a literal for now. textboxes and comboboxes show fine. But I need the checkbox values.
protected
void
RadListView1_ItemUpdating(
object
sender, RadListViewCommandEventArgs e)
{
RadListViewEditableItem editedItem = (RadListViewEditableItem)e.ListViewItem;
Hashtable newValues =
new
Hashtable();
editedItem.ExtractValues(newValues);
StringBuilder sb =
new
StringBuilder();
foreach
(DictionaryEntry entry
in
newValues)
{
sb.Append(
"key: "
+entry.Key +
" Val: "
+ entry.Value);
}
Literal1.Text = sb.ToString()
;
}
thanks, Marty