I woul like to know how to make a pop up window in asp.net?
Printable View
I woul like to know how to make a pop up window in asp.net?
hi
in form Load event write down the following Code
Button.Attributes.Add("OnClick","ShowPopUP()")
in JavaScript Write the following Function
function ShowPopUP()
{
var winHid
winHid=window.open("frmPopuForm.aspx","anyName")
}
You may also want to check this out: Adding Client-Side Message Boxes in your ASP.NET Web Pages
I have the same question. where is the form load method?
Thank you. It helps a lot
Oops I just realised I posted a link to a pop up message box and not a pop up window. This should be more helpful: Opening popup windows with ASP.NET