Hi Bilbo,
You can do it by using the Page.RegisterStartupScript method.
<pseudo-code>
int frameIndex = 1;
string newPage = "newPage.aspx";
string script = string.Format("<script
language=\"javascript\">parent.frames[{0}].location.href = '{1}';</script>",
frameIndex, newPage);
Page.RegisterStartupScript("ReloadFrame", script);
</pseudo-code>
HTH,
Kyril
-----Original Message-----
From: Bilbo [mailto:Bi***@cox.net]
Posted At: Wednesday, July 14, 2004 10:54 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: Redirecting from another frame
Subject: Redirecting from another frame
Hello,
How do I programatically redirect a page in "another frame" using C# in
ASP.NET?
Server.Transfer redirects the current page...not a different frame.
Thanks.