Hi there!
I'm trying to use a ListView to display a list attached to a Linq datasource. It looks something like this:
1 var ivs = from i in a.Activities
2 where i.DueDate >= DateTime.Now
3 select new { i.ActivityID, i.DueDate, i.Note };
4 UpcomingInterviewList.DataSource = upcominginterviews;
5 UpcomingInterviewList.DataBind();
6
When I click on the edit button, I got an error saying that the ItemEditing event wasn't handled. So, I handled it (didn't do much, just got the item that was editing, but didn't specifically /do/ anything with it), and it seems like the ListView isn't properly going into "edit" mode. I can't find anything in the MS documentation about this, and everyone else on earth seems to be using LinqDataSource components, which I've been avoiding because I like being a little closer to the metal.
What's going on? What am I supposed to do in the ItemEditing event to make the magic happen?
Thanks in advance!
gX