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. How to close the web application

How to close the web application

Scheduled Pinned Locked Moved ASP.NET
tutorial
9 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
    sarang121
    wrote on last edited by
    #1

    i am using Mozilla FireFox in that how to write the code for closing the web application so that the firefox is closed.i tried using window.close() but it works for IE not for FireFox...

    S T 2 Replies Last reply
    0
    • S sarang121

      i am using Mozilla FireFox in that how to write the code for closing the web application so that the firefox is closed.i tried using window.close() but it works for IE not for FireFox...

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Do you mean that you want to close the browser for any event ? Just write a javascript for that you can try below one window.opener = self;window.open('','_parent','');window.close();

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

      S 1 Reply Last reply
      0
      • S sarang121

        i am using Mozilla FireFox in that how to write the code for closing the web application so that the firefox is closed.i tried using window.close() but it works for IE not for FireFox...

        T Offline
        T Offline
        Tarik Guney
        wrote on last edited by
        #3

        you can't close application :doh:

        I am not a perfect programmer,but i have perfect's programmers' habits.

        S 1 Reply Last reply
        0
        • T Tarik Guney

          you can't close application :doh:

          I am not a perfect programmer,but i have perfect's programmers' habits.

          S Offline
          S Offline
          sarang121
          wrote on last edited by
          #4

          why we cant close the application...

          1 Reply Last reply
          0
          • S Sandeep Akhare

            Do you mean that you want to close the browser for any event ? Just write a javascript for that you can try below one window.opener = self;window.open('','_parent','');window.close();

            Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

            S Offline
            S Offline
            sarang121
            wrote on last edited by
            #5

            ya this code works for internet explore but not for firefox.Do u have any solution for it.

            S 1 Reply Last reply
            0
            • S sarang121

              ya this code works for internet explore but not for firefox.Do u have any solution for it.

              S Offline
              S Offline
              Sandeep Akhare
              wrote on last edited by
              #6

              [Message Deleted]

              S 1 Reply Last reply
              0
              • S Sandeep Akhare

                [Message Deleted]

                S Offline
                S Offline
                sarang121
                wrote on last edited by
                #7

                r u using Mozilla firefox....

                S 1 Reply Last reply
                0
                • S sarang121

                  r u using Mozilla firefox....

                  S Offline
                  S Offline
                  Sandeep Akhare
                  wrote on last edited by
                  #8

                  Sorry not its not working I searched the web and found that for FireFox 2.0 and above it won't work.FF don't allow to close the browser using javascript If the window is opened using javscript then only it can be closed

                  Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

                  S 1 Reply Last reply
                  0
                  • S Sandeep Akhare

                    Sorry not its not working I searched the web and found that for FireFox 2.0 and above it won't work.FF don't allow to close the browser using javascript If the window is opened using javscript then only it can be closed

                    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

                    S Offline
                    S Offline
                    sarang121
                    wrote on last edited by
                    #9

                    ok if get any solution tell me..

                    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