How to invoke a popup window from an aspx page in ASP.NET?
sasu kp
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
PopUp("frmtoOpen.aspx")
end sub
Hi, Try the following
button1.attributes.add("onclick","window.open('default.aspx');")
Here, button1 is the id of Button control
Regards
srilatha
You can use javascript:window.open for that matter.