Private Sub RadGridView1_CurrentRowChanged(sender As System.Object, e As Telerik.WinControls.UI.CurrentRowChangedEventArgs) Handles RadGridView1.CurrentRowChanged
'make sure that we're on a data row
If TypeOf (e.CurrentRow) Is GridViewDataRowInfo Then
'get a reference to the row
Dim r As GridViewDataRowInfo = e.CurrentRow
'get the value of one of the grid columns
Dim strHoldType As String = r.Cells("vchrHoldType").Value
'business logic
If r.Cells("vchrHoldType").Value = "PRICING" Then
btnRelease.Enabled = True
Else
btnRelease.Enabled = False
End If
End If
End Sub