Response.Redirect in a Blank Window!

I need to modify this code to open in a blank window, how may i?

Protected Sub grd_ItemCommand(ByVal sender As Object, ByVal e As C1.Web.C1WebGrid.C1CommandEventArgs) Handles GRD.ItemCommand
        Select Case e.CommandName
            Case "stockDetails"
                Response.Redirect("~/desktopmodules/feed/StockDetails.aspx?r=" & GRD.DataKeys.Item(e.Item.ItemIndex))
        End Select
End Sub
Who is Participating?
David H.H.LeeConnect With a Mentor Commented:
Dear feesu,
Probably you can code in this way:
Case "stockDetails"
   Dim s as string
   s="<script language='javascript'>"
   s &="'~/desktopmodules/feed/StockDetails.aspx?r=" & GRD.DataKeys.Item(e.Item.ItemIndex)) & "');"
   s &="</script>"

feesuAuthor Commented:
Thanks alot!
David H.H.LeeCommented:
Dear feesu,
Welcome, i'm glad to help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.