Data Source. Why this error?

S

shapper

Hello,

I am using a LINQ Data Source with a ListView (.NET 3.5).

When I click an item Delete button (with CommandName = Delete) I get
the following error:
The ListView 'lvTags' raised event ItemDeleting which wasn't handled.

I don't have an function to handle the ItemDeleting event because I am
using the LinqDataSource:

Private Sub ldsTags_Deleting(ByVal sender As Object, ByVal e As
LinqDataSourceDeleteEventArgs) Handles ldsTags.Deleting
...
End Sub ' ldsTags_Deleting

What am I doing wrong?
Do I need to implement the ItemDeleting and ItemInserting?
Even when the ListView is connected to a LinqDataSource?

I don't understand what is going wrong here.

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top