Question : Popup not working in IE

Hello, I have the attached code that I use to render a popup which displayes a customers order so they can print the order with the proper CSS styles and such. This works fine for every brower except IE. What do I need to do to modify my existing code to work for IE as well?
1:
2:
3:
4:
5:
6:
7:
8:
Public Shared Sub OpenPopUp(ByVal opener As System.Web.UI.WebControls.WebControl, ByVal PagePath As String, ByVal windowName As String)
        Dim clientScript As String
        clientScript = "window.open('" & PagePath & "','" & windowName & "');return false;"
        opener.Attributes.Add("onClick", clientScript)
    End Sub
    Protected Sub ibtnPrint_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibtnPrint.Click
        OpenPopUp(ibtnPrint, ("PrintOrder.aspx?OrderId=" & lblOrderId.Text), "My Order")
    End Sub

Answer : Popup not working in IE

Random Solutions  
 
programming4us programming4us