How do I build a popup dialog in asp.net

后端 未结 3 624
后悔当初
后悔当初 2021-01-23 23:04

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

相关标签:
3条回答
  • 2021-01-23 23:47

    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).

    0 讨论(0)
  • 2021-01-23 23:51

    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

    0 讨论(0)
  • 2021-01-23 23:53

    The AJAX Control Toolkit has a ConfirmButton extender which will do exactly what you are looking for.

    0 讨论(0)
提交回复
热议问题