Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Protected Sub rGVDELTaskLog_EditCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles rGVDELTaskLog.EditCommand
  2. Dim rowindex As Integer
  3.  
  4. If TypeOf e.Item Is GridDataItem Then
  5. Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)
  6.  
  7. rowindex = dataItem.ItemIndex
  8.  
  9. For Each item As GridDataItem In rGVDELTaskLog.MasterTableView.Items
  10. If item.GetDataKeyValue("pkiDEL_Task_Log").ToString() = rowindex.ToString() Then
  11. item.Selected = True
  12. End If
  13. Next
  14. End If
  15. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement