Close window button

Discussion in 'ASP .Net' started by Damien Kay, May 7, 2004.

  1. Damien Kay

    Damien Kay Guest

    Hi,

    Is there a way of disabling the close window, minimise and maximise buttons
    on a webform?

    Thanks,
    Damien.
     
    Damien Kay, May 7, 2004
    #1
    1. Advertising

  2. Damien Kay

    Damien Kay Guest

    Thanks for the help.

    "Bin Song, MCP" <> wrote in message
    news:...
    > Hi, Damien
    >
    > You can only disable the minimise and maximise buttons, and cannot disable

    the close buttion.
    > And the only way is through javascript when you open the window, like:
    > window.open("yourpage.aspx", "MyWindow",

    "height=200,width=300,resizable=no")
    >
    > Bin Song, MCP
    >
     
    Damien Kay, May 7, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    8,938
    sateeshranga
    Aug 7, 2008
  2. Jeremy Bowers
    Replies:
    3
    Views:
    442
    jrlen balane
    Mar 14, 2005
  3. Iñaki Baz Castillo
    Replies:
    7
    Views:
    950
    Iñaki Baz Castillo
    Jan 12, 2010
  4. Walter Beierdonck

    Self.close() window without the dialog close?Yes/NO

    Walter Beierdonck, Apr 29, 2004, in forum: Javascript
    Replies:
    1
    Views:
    375
    Grant Wagner
    Apr 30, 2004
  5. Shang Wenbin

    close current window using window.close()

    Shang Wenbin, Sep 1, 2005, in forum: Javascript
    Replies:
    10
    Views:
    427
    Gérard Talbot
    Sep 2, 2005
Loading...

Share This Page