sasu kp
How to invoke a popup window from an aspx page in ASP.NET?
By sasu kp in ASP.NET on Jul 28 2006
  • Jul, 2006 29

    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

    • 0
  • Jul, 2006 28

    Hi, Try the following

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

    Here, button1 is the id of Button control

    Regards

    srilatha

    • 0
  • Jul, 2006 28

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

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS