How to redirect to webpage with whole browser from within framework link clicked?

Discussion in 'ASP .Net' started by ABC, Mar 21, 2006.

  1. ABC

    ABC Guest

    I have a frameset asp.net site. I want add a link to logout. I can
    redirect the page to login page. But it showed on one frame, not my
    expected the whole browse area. How should I do?
     
    ABC, Mar 21, 2006
    #1
    1. Advertisements

  2. You can do it on client side. Use contentWindow property to refer to the
    window that contains the frame.

    Eliyahu

    "ABC" <> wrote in message
    news:%...
    >I have a frameset asp.net site. I want add a link to logout. I can
    >redirect the page to login page. But it showed on one frame, not my
    >expected the whole browse area. How should I do?
    >
     
    Eliyahu Goldin, Mar 21, 2006
    #2
    1. Advertisements

  3. ABC

    Collin Chung Guest

    You can use the Target property in the link. Use_top to load the
    logout/login page in the full body of the window or _parent to load it
    in the parent of the current frame.

    eg. <a href="login.aspx" target="_top">Log out</a>

    Collin Chung
     
    Collin Chung, Mar 21, 2006
    #3
    1. Advertisements

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. Flip
    Replies:
    10
    Views:
    1,061
    Andrew Thompson
    Sep 24, 2004
  2. Replies:
    16
    Views:
    5,590
    Jonathan N. Little
    Jan 24, 2006
  3. \A_Michigan_User\
    Replies:
    2
    Views:
    1,115
    \A_Michigan_User\
    Aug 21, 2006
  4. kolesdz
    Replies:
    9
    Views:
    770
    Blinky the Shark
    Aug 22, 2007
  5. cielle
    Replies:
    1
    Views:
    760
    qvo178
    Oct 20, 2010
  6. DCarroll
    Replies:
    4
    Views:
    241
    Steven Cheng[MSFT]
    Sep 27, 2005
  7. Sal
    Replies:
    1
    Views:
    1,687
  8. Jammer
    Replies:
    1
    Views:
    199
    Bob Barrows
    Sep 21, 2003
Loading...