I have a gridview which is populated from a query which concatenates a series of strings. This means that I can't directly edit via the edit button.
I have put an OnRowUpdating event handler which then changes the data progamatically. It seems to work fine except it doesn't reset the cancel/update buttons to edit.
Protected Sub gwSubAddress_RowUpdating(ByVal sender As Object, ByVal e As GridViewUpdateEventArgs)
' does lots of stuff with stored procs which update the underlying data
e.Cancel = True
How do I get the cancel/update buttons to be replaced with the edit button (ie have the effect of clicking the cancel button)