I have a 4 frames website (Top, Left, Right and Bottom) using ASPX and C# programming.
When the user's session finalizes and wants to view some more information I want to redirect them to the login page on _TOP not inside the frame.
I tried the Response.Redirect function but it opens inside the frame.
any help will be appreciated.
thanks :o)
How to redirect an URL on _TOP in C# when using frames?
For a static link, use the target attribute:
%26lt;a href="url" target="_top"%26gt;Click Me%26lt;/a%26gt;
Otherwise it's not possible to use the Response object. Use javascript:
top.location.href = "url";
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment