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. window.close()

window.close()

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-net
4 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.
  • A Offline
    A Offline
    Allah Kaa Bandaa
    wrote on last edited by
    #1

    Is there any method in asp.net(C#). just as window.close() in javascript. I mean that is there any method in C# that can be used to close a window at runtime

    V 1 Reply Last reply
    0
    • A Allah Kaa Bandaa

      Is there any method in asp.net(C#). just as window.close() in javascript. I mean that is there any method in C# that can be used to close a window at runtime

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #2

      in ASP.NET? opening and closing windows always on clientside. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

      A 1 Reply Last reply
      0
      • V V 0

        in ASP.NET? opening and closing windows always on clientside. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

        A Offline
        A Offline
        Allah Kaa Bandaa
        wrote on last edited by
        #3

        Actually , i am using the java script to close the window. But when it is called, then a prompt is made to user that this program is trying to close the window,Do you want to close it or not...... I want that this prompt is not displayed.... So i was asking that is there any such method available there using which i can ignore the prompt.

        M 1 Reply Last reply
        0
        • A Allah Kaa Bandaa

          Actually , i am using the java script to close the window. But when it is called, then a prompt is made to user that this program is trying to close the window,Do you want to close it or not...... I want that this prompt is not displayed.... So i was asking that is there any such method available there using which i can ignore the prompt.

          M Offline
          M Offline
          mittalpa
          wrote on last edited by
          #4

          unfortunately, as a developer we can't do anything about it. Follow your goals, Means will follow you ---Gandhi---

          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