0

I have a gridview in my web application
this gridview contains a select button
I want when clicking on this button, a popup window appears showing some infrormation
about the selected row.
I am using asp.net 0.2

Thanks in advace.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by ericstenson
0
Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As GridViewCommandEventArgs) Handles GridView1.RowCommand

        If GridView1.Rows.Count - 1 > 0 Then

      

  If e.CommandName = "PDetails" Then

            Dim RecordID As String = GridView1.DataKeys(Convert.ToString(e.CommandArgument)).Item(0).ToString

Session.Add("RecordID",RecordID)
       
         Response.Write("<script>")
                Response.Write("window.open(YOURPOPUPPAGE.aspx','_blank','toolbar=0,location=0,menubar=0,resizable=0,width=400,height=320')")
                Response.Write("</script>")

end if

end if

end sub
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.