I am trying to determine how to get the original values from the record I am trying to update and what the changed values are in the code behind. I can not figure out which event and what syntax to use to get these values when the user hits the "Update" link. Any help would be appreciated.
Princy,
First off, thank you very much for such a quick response. After I submitted my question I kept checking the block that was triggered and the syntax that would reveal the data in the third level of my hierarchical grid. I found that the following subroutine was where this occured and used the dataitem to retrieve the actual data from the databound control. Once again thank you for the help. Todd
Protected
Sub RadGrid1_ItemCommand(ByVal sender AsObject, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
If e.CommandName = "ButtonPressed"Then <--'I had a button defined in the row needed to get data to fields at this point
IfTypeOf e.Item Is GridDataItem Then
Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
'Dim img As Image = DirectCast(item.FindControl("imgMarketing"), Image)
Dim dataItem = DirectCast(e.Item, GridDataItem)
objclsMktMatMaintVar.WCBCAT = dataItem.Item(
"WCBCAT").Text '<--'this was brought in by SQL-db2 400 syntax to the control