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. close Asp.Net Application

close Asp.Net Application

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
7 Posts 3 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.
  • S Offline
    S Offline
    SathyaSiva
    wrote on last edited by
    #1

    I am using Asp.Net 2005 and i would like to close my application when i click a button

    Sathya

    C I 2 Replies Last reply
    0
    • S SathyaSiva

      I am using Asp.Net 2005 and i would like to close my application when i click a button

      Sathya

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'm not sure that your question makes sense. You can do window.close() in your browser if you want ( the user will be prompted ), but this will stop the current user from interacting with your site, it won't fire any event on the server side, or guarantee that no-one is connected to your site.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S 1 Reply Last reply
      0
      • C Christian Graus

        I'm not sure that your question makes sense. You can do window.close() in your browser if you want ( the user will be prompted ), but this will stop the current user from interacting with your site, it won't fire any event on the server side, or guarantee that no-one is connected to your site.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        S Offline
        S Offline
        SathyaSiva
        wrote on last edited by
        #3

        I am asking close the browser then ur application will end. I want the same operation in browser close in button click.

        Sathya

        C 1 Reply Last reply
        0
        • S SathyaSiva

          I am using Asp.Net 2005 and i would like to close my application when i click a button

          Sathya

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          SathyaSiva wrote:

          i would like to close my application when i click a button

          Which application? and On which button click event? If you are asking about browser close button then you do not need to do anything for this because browser closes itself when you click its close button. ;) whats your requirement and what do you want to do? regards kHan

          please don't forget to vote on the post that helped you.

          1 Reply Last reply
          0
          • S SathyaSiva

            I am asking close the browser then ur application will end. I want the same operation in browser close in button click.

            Sathya

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            I am SO sick of people downvoting me b/c they are stupid. Like I said, you can close the browser with javascript, the user will be prompted, but that doesn't end your app, your app won't even get a message to say that is what happened. You need to read a book on web development.

            Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            S 1 Reply Last reply
            0
            • C Christian Graus

              I am SO sick of people downvoting me b/c they are stupid. Like I said, you can close the browser with javascript, the user will be prompted, but that doesn't end your app, your app won't even get a message to say that is what happened. You need to read a book on web development.

              Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              S Offline
              S Offline
              SathyaSiva
              wrote on last edited by
              #6

              u know ASP.NET very well. we r beginners So only we r asked questions. If u answer otherwise ignore that don't scold others

              Sathya

              C 1 Reply Last reply
              0
              • S SathyaSiva

                u know ASP.NET very well. we r beginners So only we r asked questions. If u answer otherwise ignore that don't scold others

                Sathya

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                I am here b/c I want to help. But when people ask again and ignore the answer, that's just annoying. If you wanted to know something further, that's cool. But, you just asked the same thing again. It's also annoying to be voted as giving a bad answer, when you gave the only possible correct answer. THAT is why I feel frustrated.

                Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                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