Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. About using MsgBox() in web

About using MsgBox() in web

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-nethelp
16 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Ali AlOmairi TJIC

    What is the problem with some VB guys using MsgBox() in asp.net ?!! :mad:

    S Offline
    S Offline
    SUDHAKAR PALLAM
    wrote on last edited by
    #2

    You can add System.Windows.Forms namespace and start using MessageBox in asp.net. But the problem is when you host it in server. It doesn't work

    A 1 Reply Last reply
    0
    • S SUDHAKAR PALLAM

      You can add System.Windows.Forms namespace and start using MessageBox in asp.net. But the problem is when you host it in server. It doesn't work

      A Offline
      A Offline
      Ali Al Omairi Abu AlHassan
      wrote on last edited by
      #3

      Or you can use ModalPopupExtender. 100 :rose: ;)

      Help people,so poeple can help you.

      1 Reply Last reply
      0
      • A Ali AlOmairi TJIC

        What is the problem with some VB guys using MsgBox() in asp.net ?!! :mad:

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #4

        Bad idea: perhaps use jquery[^] and a plug-in[^] to accomplish the same thing.

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        A 1 Reply Last reply
        0
        • R R Giskard Reventlov

          Bad idea: perhaps use jquery[^] and a plug-in[^] to accomplish the same thing.

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

          A Offline
          A Offline
          Ali AlOmairi TJIC
          wrote on last edited by
          #5

          Or you can use ModalPopupExtender. 100 :rose: ;)

          J R 2 Replies Last reply
          0
          • A Ali AlOmairi TJIC

            Or you can use ModalPopupExtender. 100 :rose: ;)

            R Offline
            R Offline
            R Giskard Reventlov
            wrote on last edited by
            #6

            You've said that twice now: have you got shares in the ModalPopupExtender??? :-)

            "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

            1 Reply Last reply
            0
            • A Ali AlOmairi TJIC

              Or you can use ModalPopupExtender. 100 :rose: ;)

              J Offline
              J Offline
              JV9999
              wrote on last edited by
              #7

              Why do you need two active accounts at the same time btw? Split personality?

              N A 2 Replies Last reply
              0
              • A Ali AlOmairi TJIC

                What is the problem with some VB guys using MsgBox() in asp.net ?!! :mad:

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #8

                Rather than using ModalPopupExtender, you can simply use alert.

                I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Onyx

                A 1 Reply Last reply
                0
                • J JV9999

                  Why do you need two active accounts at the same time btw? Split personality?

                  N Offline
                  N Offline
                  Not Active
                  wrote on last edited by
                  #9

                  So one vote the other up of course


                  I know the language. I've read a book. - _Madmatt

                  A 1 Reply Last reply
                  0
                  • A Ali AlOmairi TJIC

                    What is the problem with some VB guys using MsgBox() in asp.net ?!! :mad:

                    B Offline
                    B Offline
                    Bernhard Hiller
                    wrote on last edited by
                    #10

                    That type of message box "pops up" on the server, not on the client. Nobody will be there to close it. And the program is not further executed until the message box is closed. When you want to inform the user with some kind of pop-up message, the javascript alert function is appropriate.

                    A 1 Reply Last reply
                    0
                    • N Not Active

                      So one vote the other up of course


                      I know the language. I've read a book. - _Madmatt

                      A Offline
                      A Offline
                      Ali Al Omairi Abu AlHassan
                      wrote on last edited by
                      #11

                      man, you are a divil in a human cloth; I don't do that, I swear.

                      Help people,so poeple can help you.

                      1 Reply Last reply
                      0
                      • P Pete OHanlon

                        Rather than using ModalPopupExtender, you can simply use alert.

                        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                        Forgive your enemies - it messes with their heads

                        My blog | My articles | MoXAML PowerToys | Onyx

                        A Offline
                        A Offline
                        Ali Al Omairi Abu AlHassan
                        wrote on last edited by
                        #12

                        you can't add custom buttons to dialogs produced by alert() and/or confirm() , can you ?!!

                        Help people,so poeple can help you.

                        P 1 Reply Last reply
                        0
                        • J JV9999

                          Why do you need two active accounts at the same time btw? Split personality?

                          A Offline
                          A Offline
                          Ali Al Omairi Abu AlHassan
                          wrote on last edited by
                          #13

                          Sir; the reson why i create a new account is 'my boss told me to create one associated with my formal e-mail' why i used it 'it is a cookies issue' 100 :rose: ;)

                          Help people,so poeple can help you.

                          1 Reply Last reply
                          0
                          • B Bernhard Hiller

                            That type of message box "pops up" on the server, not on the client. Nobody will be there to close it. And the program is not further executed until the message box is closed. When you want to inform the user with some kind of pop-up message, the javascript alert function is appropriate.

                            A Offline
                            A Offline
                            Ali Al Omairi Abu AlHassan
                            wrote on last edited by
                            #14

                            Sir, I can play the whole game before it starts. 100:rose: ;)

                            Help people,so poeple can help you.

                            1 Reply Last reply
                            0
                            • A Ali Al Omairi Abu AlHassan

                              you can't add custom buttons to dialogs produced by alert() and/or confirm() , can you ?!!

                              Help people,so poeple can help you.

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #15

                              No, but there was nothing in the original post/question/rambling_idiocy to suggest that this was necessary.

                              I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                              Forgive your enemies - it messes with their heads

                              My blog | My articles | MoXAML PowerToys | Onyx

                              A 1 Reply Last reply
                              0
                              • P Pete OHanlon

                                No, but there was nothing in the original post/question/rambling_idiocy to suggest that this was necessary.

                                I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                                Forgive your enemies - it messes with their heads

                                My blog | My articles | MoXAML PowerToys | Onyx

                                A Offline
                                A Offline
                                Ali Al Omairi Abu AlHassan
                                wrote on last edited by
                                #16

                                over my head, sir. :-D

                                Help people,so poeple can help you.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups