Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 response.write in ASP

Author  Topic 

shajimanjeri
Posting Yak Master

179 Posts

Posted - 2007-04-29 : 09:33:33
I have a web page that is made up of two frames. Two different .asp's are loaded into the frames.
When I click on a button in one of the frames its going to a asp page and from there it should redirect to the frame.but now its response.redirect to a .asp where there is no frame. My problem is that I want to see this .asp page alog with the frame. As it is right now, the new .asp page is loaded with out frame from which I did the button submit.

Can anyone please tell me how to code this so that when I click the button and do the response.redirect, the frames disappear and the only thing I see is the page I called with the response.redirect

with regards
Shaji

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2007-04-29 : 09:44:08
Your HTML FORM tag's Target attribute must be set to "_top".

see: http://htmlhelp.com/design/frames/syntax/target.html

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
   

- Advertisement -