Asp net listview itemupdating not firing
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.