Hi All
I have a grid which contains an edit button that when clicked, opens a RadWindow which allows me to add/edit/remove data. I'm using the approved Telerik code as provided on the demos page (below):
All works really well but what I would really like to do is raise the same event on the grid's RowClick command (ie remove the linkbutton and just raise the window when the user clicks on the relevant row, maybe something that casts the row into a hyperlink itself?).
JavaScript isn't my strong point and so I wondered if anyone else had found a solution to this?
Thanks in advance.
Steve :o)
I have a grid which contains an edit button that when clicked, opens a RadWindow which allows me to add/edit/remove data. I'm using the approved Telerik code as provided on the demos page (below):
If
TypeOf e.Item Is GridDataItem Then
Dim editLink As HyperLink = DirectCast(e.Item.FindControl("EditLink"), HyperLink)
Dim linkParams As String = "?aid=" & e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("AssignmentID")
editLink.Attributes(
"href") = "#"
editLink.Attributes(
"onclick") = String.Format("return ShowEditForm('{0}','{1}');", linkParams, e.Item.ItemIndex)
End If
All works really well but what I would really like to do is raise the same event on the grid's RowClick command (ie remove the linkbutton and just raise the window when the user clicks on the relevant row, maybe something that casts the row into a hyperlink itself?).
JavaScript isn't my strong point and so I wondered if anyone else had found a solution to this?
Thanks in advance.
Steve :o)