3
Reply

How to invoke a popup window from an aspx page in ASP.NET?

sasu kp

sasu kp

18y
6.8k
0
Reply

    fuction to make popup win at client side:-

    Public Sub PopUp(ByVal url As String)

    Dim popup As String = ""

    Page.RegisterStartupScript("Popup", popup)

    End Sub

    call the function

    Private Sub btn_Click

    PopUp("frmtoOpen.aspx")

    end sub

    18y
    0

    Hi, Try the following

    button1.attributes.add("onclick","window.open('default.aspx');")

    Here, button1 is the id of Button control

    Regards

    srilatha

    18y
    0

    You can use javascript:window.open for that matter.

    18y
    0