Call listview button event


#1

Hi,

I am trying to use a list view to record an employee’s holiday requests and allow their manager to approve them. What I really need to make this nice and smooth is to call the events triggered by the edit and update buttons programmatically. Alternatively if I just knew how they commit things to the grid and add a new row etc I could program my own events to do this. Any guidance would be greatly appreciated.

Thanks

Simon


#2

To answer my own post just call the Gridview’s UpdateRow method which accepts and integer for RowIndex and a Boolean for CausesValidation. GirdBookings.UpdateRow(1,true)