Redirect without menubar

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

    #1

    Redirect without menubar

    I am trying to redirect a login page to another page after validating the
    username and password. I am currently trying to use javascript with the
    window.open command but this leaves the window.opener to stay open. is
    there a good way to redirect to a new form in .net 2003 without having the
    menubar present and the parent form to close?

    Thanks,

    Todd


  • Ben

    #2
    Redirect without menubar

    YOu can close the opener window from the opened window. I
    think the command is this.opener.clo se() or something
    similar.
    Call this on load in the document that is opened, and it
    will close the 'parent' behind it.

    [color=blue]
    >-----Original Message-----
    >I am trying to redirect a login page to another page[/color]
    after validating the[color=blue]
    >username and password. I am currently trying to use[/color]
    javascript with the[color=blue]
    >window.open command but this leaves the window.opener to[/color]
    stay open. is[color=blue]
    >there a good way to redirect to a new form in .net 2003[/color]
    without having the[color=blue]
    >menubar present and the parent form to close?
    >
    >Thanks,
    >
    >Todd
    >
    >
    >.
    >[/color]

    Comment

    • Todd Lu

      #3
      Re: Redirect without menubar

      Ben,
      thanks for the reply. I have tried this with window.opener.c lose() and
      your recommendation of this.opener.clo se(). The problem is that I get is a
      message that the selected window is closing. All I want to do is to
      redirect to a new page without the menubar and no parent window. Do you
      know of any other way?

      Thanks,

      Todd

      "Ben" <anonymous@disc ussions.microso ft.com> wrote in message
      news:090a01c3ce e7$e3d4b0c0$a50 1280a@phx.gbl.. .[color=blue]
      > YOu can close the opener window from the opened window. I
      > think the command is this.opener.clo se() or something
      > similar.
      > Call this on load in the document that is opened, and it
      > will close the 'parent' behind it.
      >
      >[color=green]
      > >-----Original Message-----
      > >I am trying to redirect a login page to another page[/color]
      > after validating the[color=green]
      > >username and password. I am currently trying to use[/color]
      > javascript with the[color=green]
      > >window.open command but this leaves the window.opener to[/color]
      > stay open. is[color=green]
      > >there a good way to redirect to a new form in .net 2003[/color]
      > without having the[color=green]
      > >menubar present and the parent form to close?
      > >
      > >Thanks,
      > >
      > >Todd
      > >
      > >
      > >.
      > >[/color][/color]


      Comment

      Working...