Hi guys
I am retrieving a value from a grid bound column in a selected row like this:
The problem arises when I want to tootip the items in the "Name" column. As part of this process I have to convert the Name column
to a template, but as soon as I do this, the item("Name").Text value retrieved is an empty string.
How can I modify the approach to retrieve the value when the column is converted to a template field?
Sorry if this is very obvious because I have not found a way of doing it!
Thanks
Clive
I am retrieving a value from a grid bound column in a selected row like this:
| Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged |
| Dim strName, strVintage As String |
| For Each item As GridDataItem In RadGrid1.SelectedItems |
| strName = item("Name").Text |
| strVintage = item("Vintage").Text |
| ' do stuff here |
| Next |
| End Sub |
The problem arises when I want to tootip the items in the "Name" column. As part of this process I have to convert the Name column
to a template, but as soon as I do this, the item("Name").Text value retrieved is an empty string.
How can I modify the approach to retrieve the value when the column is converted to a template field?
Sorry if this is very obvious because I have not found a way of doing it!
Thanks
Clive