How to close a asp.net frame set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anudu
    New Member
    • Oct 2007
    • 31

    How to close a asp.net frame set

    Hi,

    I am developing a system with asp.net, c#.net, ajax and javascripts. I have designed my site with frame set for Top, left and main. I have a logout button on the top page.when the Logout button is clicked, I want to give a confirm message and if it is 'Yes' then close the frame set and redirect to The login page which is the first page of my system.

    what is the best way to do this.
  • anudu
    New Member
    • Oct 2007
    • 31

    #2
    ok I found it. I set the "target" property of the top page to"_parent" and add "Response. redirect("login .aspx") " to on click method of Log out button.

    now it works fine.

    Comment

    Working...