I'm creating a simple application in C# using ASP.NET. I'm trying to give it a sort of login pop-up box. It won't have username and passowrd but instead ask for a program number, name, email address and phone number. Any ideas?

Recommended Answers

All 2 Replies

Response.Write("<script>")

                Response.Write("window.open('WHATEVERNEWPAGENAME.aspx','_blank','toolbar=0,location=0,menubar=0,resizable=0,width=400,height=320')")

                Response.Write("</script>")

The Pop-Up is just a different page; Play around with the height and width. You would do that action on a "Button Click" or pageload or whatever event...

So script would be any scipting language a I wanted to use i.e. Javascript?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.