Response.Redirect and frames

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I have a page which has some frames. After processing one
of the pages I want to redirect to another frameset.
However, when I use Response.Redirect I end up with a
frameset with the frameset rather than just the new
frameset.
I have had to resort to using Javascript to do this but
I'd prefer to use the server.

Any ideas ho to do this?

Steve
 
George,

Could you please clarify this with an example. I have a
similar problem.

Thanks,
Victor
 
Not sure what to clearify.
You have a link or form in the frame page. When you click on that link or
submit the form you want the result to be opened in the parent window not a
frame.
That is how i undertsood the question.

Just put target="_parent" in <a href=".." target="_parent"> <form
target="_parent">

George.
 
Hi. I am using this on the form tag and it works great! Thank you.

I have a login form. I am doing a redirect if it is successful and write a value to a label if not. When login is unsuccessful, I want the target to be _self. If login is successful, I want the target to be _parent.

Is it possible to change the form's target programmatically or set a target on a response.redirect when login is successful?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top