The ListView raised event ItemEditing which wasn’t handled.

The ListView ‘ListView1’ raised event ItemEditing which wasn’t handled.

if the CommandName of a clicked button is “Edit” then it will put the ListView in the Edit mode, try modifying the CommandName=”Edit” to something like “modify”… its so easy 🙂


ASP.NET ListView Item Delete Confirmation using jQuery Colorbox

The other day I was working on a .NET project I needed to perform a delete confirmation using jQuery Colorbox in ASP.NET ListView. After I spend long hours on internet I couldn’t find solution and come up with this idea. Hope you will enjoy it 🙂


Step 1: Add jQuery and Colorbox

you can download colorbox from

You can find jQuery Colorbox examples here

Step 2: Add the following inside < head > tag

Step 3: ASP.Net Listview using CommandArgument to delete the item


You can find much detailed information from ASP.NET Wiki: