How to show a message box in an ASP.NET page?

前端 未结 8 651
青春惊慌失措
青春惊慌失措 2020-12-20 01:34

As I was a Windows programmer it was so easy to show a message box on a form.

But on an ASP.NET page I don\'t know how can I show it?

Actually I have some co

8条回答
  •  猫巷女王i
    2020-12-20 01:55

    If you REALLY want to have "yes"/"no" buttons (or any buttons that are not your standard OK/Cancel for that matter) you can do the following:

    Main page:

    
    
    
    
    
    
    
    

    MyModalDialog.htm

    
    
    
    

    Do you want to proceed?"

     

提交回复
热议问题