Asp net listview itemupdating not firing

by  |  01-Dec-2014 14:11

Asp Alliance Register Edit My Profile Author List Write for Us About Asp Alliance Contact Us Privacy Policy Link To Us Advertise Subscribe Free Newsletter Newsletter Archive RSS Syndication . NET 2.0 Examples ASP Tutorials Learn ASPLearn VBScript Learn JScript Learn SQLLearn XMLSoftware Resources Shopping Cart Ecommerce Charts and Dashboards Other Resources Learn Java Learn Oracle Opinion / Editorial Crystal Reports Alliance WPF Resources AJAX Resources Silverlight Resources Free Tools Cache Manager Simple CMSReviews Book Reviews Product Reviews Expert Advice Books ASP.

NETLearn AJAXLearn Silverlight Learn Visual Studio Learn ADO. NETLearn Web Services Learn Controls Learn Biz Talk Learn Share Point Learn Mobile Learn SQLLearn SQL Reporting Learn Windows Forms Learn XMLLearn Crystal Reports Learn Far Point Learn Dev Express Examples ASP.

It might not sound like that much of a tall order, but I couldn’t find a single working example of this online- there were plenty of nested listview’s simply spitting out the data, but they all seemed to fall apart when you wanted to perform CRUD operations on the records in the nested List View.

Here is the complete ASPX markup- there is no code behind used at all.

" Delete Command="Delete Quiz" Delete Command Type="Stored Procedure" Insert Command="Update Quiz" Insert Command Type="Stored Procedure" Select Command="Get All Quizes" Select Command Type="Stored Procedure" Update Command="Update Quiz" Update Command Type="Stored Procedure"" Delete Command="Delete Question" Delete Command Type="Stored Procedure" Insert Command="Insert Question" Insert Command Type="Stored Procedure" Provider Name="System.

property is set to "Delete".) This enables you to perform a custom routine whenever this event occurs, such as canceling the delete operation.

A List View Delete Event Args object is passed to the event handler, which enables you to determine the index of the current item.

It also lets you indicate that the delete operation should be canceled.

Community Discussion