Click to See Complete Forum and Search --> : problem dblclicking a cell in a datagrid??


riddim
10-03-2006, 12:34 PM
:confused: I'm using a webdataGrid and I want to be able to allow the admin to dblclick a User in the Username column and have the admin then be redirected to another page when he clicks that User in that particular row. Would I also need to use session variables as well to make this work properly?

Protected Sub uwgUsers_DblClick(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.ClickEventArgs) Handles uwgUsers.DblClick
'selects the cell in the column using a session to hold that value
Session("U") = uwgUsers.Rows(uwgUsers.DisplayLayout.ActiveRow.Index).Cells(0)

Response.Redirect("Clientfiles.aspx")
End Sub