I am building a Web Application using asp.net (C#). I come from windows forms development and find myself in a hard spot. Im making an application where the user should edit som
If you're not concerned about using a library, try Microsoft ASP.NET AJAX Control Toolkit, they have several controls that can create something you want (the ModalPopup control).
I used to do the following: 1. my new pop up is just a new aspx page like any other page 2. add a button (or just a link) that fires a client side java script function 3. in the function I use window.open and put params to open my popup page with no toolbars or scrollbars and proper size to its content
check this for more info on #3
The AJAX Control Toolkit has a ConfirmButton extender which will do exactly what you are looking for.