I'm working a project where there is a ListView embedded within another ListView.
I'm having difficulty performing a databind on the embedded ListView when the user deletes an entry from it. I receive "Object reference not set to an instance of an object" as an error. The entry does get deleted but I'm unable to refresh the ListView to reflect the deleted entry. Thanks very much for any assistance!
Protected Sub lvMissionSubTasks_ItemDeleting(sender As Object, e As Telerik.Web.UI.RadListViewCommandEventArgs) Handles lvMissionSubTasks.ItemDeleting
If TypeOf e.ListViewItem Is RadListViewItem Then
Dim lbl As Label = TryCast(e.ListViewItem.FindControl("lblItemID"), Label)
Dim de As New LaunchChecklist.BUS.Items
Dim lv As RadListView = DirectCast(e.ListViewItem.FindControl("lvMissionLevel3SubTasks"), RadListView)