Tuesday, October 26, 2004

Redirecting to a page inside a Frameset using Response.Redirect()

Some times we might have to use Framesets and when we want to redirect a page to another frame on the page, here is the script to do itJust a simple javascript to be rendered.

Response.Write(" script window.open('login.aspx','_top'); script")

or......

Response.Write("script window.parent.frames[2].location='http://lion/page.aspx?'; script ") ;

No comments: