This is the code:

VB Code:
  1. Dim r As TableRow
  2. Dim c As TableCell
  3. Dim Hyp As HyperLink
  4.  
  5. c = New TableCell
  6. Hyp = New HyperLink
  7. Hyp.NavigateUrl = "Details.aspx?OmniId=" & OmniId & "&SubOffId= " & SubOffID
  8. Hyp.Text = Address
  9. c.Controls.Add(Hyp)
  10. r.Cells.Add(c)
  11.  
  12. tblDetails.Rows.Add(r)

Hyp.NavigateUrl opens Details.aspx as another page. I want it as a pop up ( a new browser window).