close window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • wilco

    #1

    close window

    Hello,

    how can you close a pop up window with vb in asp.net?



    thanks


  • Natty Gur

    #2
    Re: close window

    Hi,

    Use Page.RegisterSt artupScript to embed client side java script
    window.close(); you wont see the method with intellisense but it exist.

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    • Saravana

      #3
      Re: close window

      Check out this article,
      http://www.microsoft.com/india/msdn/...ndarinASP.aspx

      --
      Saravana
      Microsoft India Community Star,MC**
      Placeholder page for web development. Coming soon and under construction with updates to follow.




      "wilco" <wilco.bikker@h etnet.nl> wrote in message
      news:bgj18e$9h1 $1@reader10.wxs .nl...[color=blue]
      > Hello,
      >
      > how can you close a pop up window with vb in asp.net?
      >
      >
      >
      > thanks
      >
      >[/color]


      Comment

      • PJ

        #4
        Re: close window

        Response.Clear( )
        Response.Write( "<html><bod y onload=""window .close()""></body></html>")
        Response.End()

        "wilco" <wilco.bikker@h etnet.nl> wrote in message
        news:bgj18e$9h1 $1@reader10.wxs .nl...[color=blue]
        > Hello,
        >
        > how can you close a pop up window with vb in asp.net?
        >
        >
        >
        > thanks
        >
        >[/color]


        Comment

        Working...