Listview itemupdating event not firing
I need to access these values so I can update the record. I think I'm overlooking something crucial here, any help would be handy. Notice how the update button has a command called "Update".
Protected Sub List View_Item Updating(By Val sender As Object, By Val e As System. You can use this to fetch the control values you want by handling the list views Item Command Event.
The idea is that I can check or uncheck any of the checkboxes, and the changes are saved in the db. Data Bind() 'get tasks for project ID Dim hdnproject ID As Hidden Field = lv Projects. Find Control("hdn Study ID") get Tasks(hdn Project ID. Actually, I'm developing dynamic template using and c#.i have one main aspx page and inside this page i have an usercontrol page.My problem lies with the itemupdating event handler: I am unable to retain the changed checkbox states. Value, rpt Depts) End Sub Protected Sub lv Depts_Item Data Bound(By Val sender As Object, By Val e As System. I rebind the nested repeaters, but this seems to overwrite the checkbox states that were set during editing. List View Edit Event Args) Dim rpt Depts As Repeater = lv Projects.