Hy folks, I am having dificulties to acomplish a very simple task... geting a value out of the RadGrid.SelectedItems Collection...
I have the following code
I have the following code
Public Function SelectedItem(ByVal columname As String) As String
Dim result As String = Nothing
Dim item As Telerik.Web.UI.GridItem = Nothing
Try
item =
Me.RadGrid1.SelectedItems.Item(0)
* result = item.Cells(columname).Text
Return result
Catch ex As Exception
result =
Nothing
End Try
Return result
End Function
The selectedItems Collection is properly filled, after selecting the first Item, * how do i get the Cell Value in the specified Column? Using the index works but how do I know how the columnname and index are mapped? the docs state to use the uniqeName property of the GridItem but there is no such property??
