Jim,
Thanks for that. In the end I did the following :-
Response.Write( "<script
language='javascript'>window.parent.frames('MainFrame').location.href='mypag
e.aspx';</script>" );
That seems to work perfectly.
Thanks.
Andy
"Jim Mitchell" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I had the same configuration and in the end I kept the top frame and
> combined the bottom two into a single frame. I think you will find that
> combining the bottom two works best for .NET since you will need to post
> back. Calling the right frame from the left frame just does not make a
lot
> of sense. At least for me.
>
> Then I moved most of the nav buttons to the top of the lower frame instead
> of in the upper frame. It just made more sense with the .NET postbacks.
>
> If you still want to call one frame from another, I think you will find
that
> you will go back to HTML controls and javascript.
>
> If you try the server.transfer concept, you will loose the session state
and
> that really goes against .NET. I guess this was the reason I moved the
nav
> bottons to the primary (lower) frame.
>
> Jim
>
> "Andy Fraser" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> > I have just started programming ASP.NET with C# and need some help with
my
> > web application. I have a window with three frames, the top frame is the
> > title frame and it's contents are static, the second frame have menu
> buttons
> > which dynamically change as a button is selected. The third frame is
where
> I
> > need to load a page based on the button pressed. How do I get a frame to
> > reload a new page from within my navbar.aspx.cs code ?
> >
> > Many thanks
> >
> > Andy
> >
> >
>
>
|