Hey all,
I can't seem to find much working new references to this and I have tried many different way to achive this all without success, here is what I am trying to do.
I have a gridview with a bunch of date, I would like the user to select one of the items in the gridview to be shown a detailed breakdown of the item they selected, and I would like the details to display in a pop-up window.
So far this is as much as I have gotten, and it doesn't work. I don't think I am even close with this.
Protected Sub GridView2_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView2.SelectedIndexChanged
Dim Key As String = GridView2.SelectedValueDim ItemDetail As HyperLink = DirectCast(GridView2.FindControl("ItemDetail"), HyperLink) ItemDetail.Attributes.Add("onclick", "window.open('../ItemDetail/Default.aspx?ItemID=" & Key & "','myWindow','menubar=0,toolbar=0,height=300,width=500,resizable=0,scrollbars=0');")
End Sub
Any help would be great, thanks!