Response.Redirect() to a different frame
-
Does anyone know how to redirect to a page in such way that it appears in a particular frame () in the frameset? Details of my question: If I use Response.Redirect("Page2.aspx") from Page1's code, Page2.aspx always appears in the same frame as Page1. My objective is to continue displaying Page1.aspx in its native frame while showing Page2 in a different frame within the same browser window. My deepest regards in advance, Kirill
-
Does anyone know how to redirect to a page in such way that it appears in a particular frame () in the frameset? Details of my question: If I use Response.Redirect("Page2.aspx") from Page1's code, Page2.aspx always appears in the same frame as Page1. My objective is to continue displaying Page1.aspx in its native frame while showing Page2 in a different frame within the same browser window. My deepest regards in advance, Kirill
hmmm... Response.Redirect send the redirection instructions for the respective page only. Whenever a browser encounters a page containing frames, it reads the sources of frames and then request them separately. During request, if it gets redirection instruction, it changes the source and palce the new page. You can use JavaScript to complete this tast. The script may look like... window.frames("FRAME_NAME").document.location = "new_page.aspx"; or window.frames("FRAME_NAME").src = "new_page.aspx"; or window.frames("FRAME_NAME").source = "new_page.aspx"; or window.frames("FRAME_NAME").location = "new_page.aspx"; I can't remember the exact code, please try both... eff_kay ------------------- Therez No Place like ... 127.0.0.1