|
 |
asp_databases thread: get Refreshed data in frames
Message #1 by "ARTI MAHOBE" <arti_mahobe@h...> on Mon, 22 Oct 2001 17:35:02 +0530
|
|
Hello friends,
I am using frames. There is one Frameset which contains a Frame "middle" and
another Frameset which in turn has two frames "top" and "menu". "middle" is
the main frame where I display all the listings and entry pages and "top" is
the frame where I display some information and one button depending on some
conditions and "menu" is the frame where I display menu.
Now I am changing the information to be displayed in "top" by clicking on
the buton in "top" and calling entry page in "middle". After submittin from
here I am returning to a page in "middle". I am using meta tag to refresh
data on "top". But I want to use another method. How do I refresh data in a
page that is being displayd in "top" frame.
I would be thankful to anybody who helps in this regard.
Arti
Message #2 by "Sanjeev Gandhi" <sgandhi@e...> on Mon, 22 Oct 2001 09:05:41 -0700
|
|
Hi Aarti,
You can do this in number of ways. One simple way is
write some funcitions in javascript like:
1. onclick_menu which can refresh the data in top
Then , in menu you can call onclick_menu function on click of each menu
option.
2. onchange_top which will refresh middle frame when some value is changed
in top.
in top you can call onchange_top on change event of each data value control.
but take care of data retreived in middle frame, as if user edit the data
and without saving, he changes some data in top frame, in that case you have
to write one more function to check the status of middle frame, again
status/flag can be set by using onchange of each data value control.
hope this may help you.
Sanjeev Gandhi
----- Original Message -----
From: "ARTI MAHOBE" <arti_mahobe@h...>
To: "ASP Databases" <asp_databases@p...>
Sent: Monday, October 22, 2001 5:05 AM
Subject: [asp_databases] get Refreshed data in frames
> Hello friends,
> I am using frames. There is one Frameset which contains a Frame "middle" and
> another Frameset which in turn has two frames "top" and "menu". "middle" is
> the main frame where I display all the listings and entry pages and "top" is
> the frame where I display some information and one button depending on some
> conditions and "menu" is the frame where I display menu.
> Now I am changing the information to be displayed in "top" by clicking on
> the buton in "top" and calling entry page in "middle". After submittin from
> here I am returning to a page in "middle". I am using meta tag to refresh
> data on "top". But I want to use another method. How do I refresh data in a
> page that is being displayd in "top" frame.
> I would be thankful to anybody who helps in this regard.
>
> Arti
|
|
 |