I am having some trouble figuring out how to get the row index value from the radgrid.
Using Microsoft Gridview I 've been able to accomplish the following:
Dim row As GridViewRow = DirectCast(btnDetails.NamingContainer, GridViewRow)
'Grab the LabAcc_PK and feed it to the Lab details datasource
' finally, rebind the detailview
DBConnect.Open()
cmd.Connection = DBConnect
cmd.CommandType = Data.CommandType.StoredProcedure
cmd.CommandText = "usp_GetLabAccountDetails"
'Add Parameters of SQL Procedure
cmd.Parameters.AddWithValue("LabAcc_PK", Convert.ToString(Gridview1.(row.RowIndex).Value))
How do I do the same thing but using the radgrid.
thanks -