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. exit button

exit button

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
25 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.
  • _ _AK_

    What he is trying to tell is if the window has been opened through Javascript then you will not be asked for the permission otherwise confirmation box will appear.

    Apurva Kaushal

    S Offline
    S Offline
    Sonia Gupta
    wrote on last edited by
    #21

    window is opening through aspx page , still is does not ask the user confirmation , in the monster.com website , while u click the update button , to update the resume.

    Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

    1 Reply Last reply
    0
    • S Sonia Gupta

      i am also looking the same.:)

      Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #22

      Sonia Gupta wrote:

      i am also looking the same.

      :doh: As I said, if the window is opened by a JS, then you can close it without any confirmation message. When JS is not the owner of the window, usually browsers will show a message to prevent unwanted scripts closing the window.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      S 1 Reply Last reply
      0
      • N N a v a n e e t h

        Sonia Gupta wrote:

        i am also looking the same.

        :doh: As I said, if the window is opened by a JS, then you can close it without any confirmation message. When JS is not the owner of the window, usually browsers will show a message to prevent unwanted scripts closing the window.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        S Offline
        S Offline
        Sonia Gupta
        wrote on last edited by
        #23

        if u visit the monster.com , there click the update button, the pop up window will open , there u can close the window on button click . U many not require to upload the resume :) , but u can see the window is opening through aspx page .Still not asking my confirmation !!

        Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

        N 1 Reply Last reply
        0
        • S Sonia Gupta

          if u visit the monster.com , there click the update button, the pop up window will open , there u can close the window on button click . U many not require to upload the resume :) , but u can see the window is opening through aspx page .Still not asking my confirmation !!

          Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #24

          Sonia Gupta wrote:

          if u visit the monster.com , there click the update button, the pop up window will open

          OMG, this is what I am telling, the window is opened by a script, so it has permission to close the window without waiting for the confirmation from user. You try to open a window using Window.Open and close it using JS, you won't get any confirmation.

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

          1 Reply Last reply
          0
          • Z zaimah

            how to create exit button? meaning close the window.

            W Offline
            W Offline
            www Developerof NET
            wrote on last edited by
            #25

            Have u tried this thing.. function Close_Window() { window.opener="something"; window.close(); } just call the function on the button click <div class="ForumSig">When you fail to plan, you are planning to fail.</div>

            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