Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Private
Sub
RadGridView1_CellClick(
ByVal
sender
As
System.
Object
,
e
Telerik.WinControls.UI.GridViewCellEventArgs)
Handles
RadGridView1.CellClick
MessageBox.Show(e.Value.ToString())
End
radGridView1_CellClick(sender
, e
GridViewCellEventArgs)
' to get the current cell value
Dim
currentCellValue = radGridView1.CurrentCell.Value
'to get the current row
currentRow = radGridView1.CurrentRow
' or
currentRow = radGridView1.CurrentCell.RowInfo
'to get the databound Item, if you are using a bound grid;
dataBoundItem = radGridView1.CurrentRow.DataBoundItem
'or
dataBoundItem = radGridView1.CurrentCell.RowInfo.DataBoundItem
' show the value of the current cell
MessageBox.Show(radGridView1.CurrentCell.Value.ToString())