PC Review


Reply
Thread Tools Rate Thread

Re: Dynamic frame loading

 
 
Jim Mitchell
Guest
Posts: n/a
 
      5th Sep 2003
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
>
>



 
Reply With Quote
 
 
 
 
Andrew Fraser
Guest
Posts: n/a
 
      5th Sep 2003
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
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power DVD Jumps from frame to frame when plays DVDs =?Utf-8?B?VGltIEM=?= Windows XP General 4 10th May 2005 03:22 AM
XP Home SP1 media player : frame by frame play? NumberOne29@Yahoo.com Windows XP New Users 1 6th Jun 2004 02:31 AM
MPEG file playback in slow motion and frame by frame JM Windows XP Basics 2 3rd Nov 2003 06:26 PM
SLow motion and frame-by-frame video viewing JM Windows XP Basics 2 2nd Nov 2003 02:08 AM
Re: Dynamic frame loading ^crazy^ Microsoft Dot NET 0 10th Sep 2003 02:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 AM.