Asp and Frames

P

philin007

Hi,
Can any help please...

I am trying to use frames in asp page. Well I am aware that frames are
on client side etc..

what I need is following. Let me explain using the main page which have
the frames skeleton :

******FRAME.asp**
<HTML>
<HEAD>
</HEAD>

<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>

</HTML>
************
1) on page what.asp i am extracting value from database in a table
format.
2) when any row in what.asp is clicked the value should change in
which.asp
3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.

Tried to search for examples on the net but unable to find any. If any
of you knw any examples please guide me to the site.
Thank you very much ..
regards
philin
 
E

Evertjan.

wrote on 19 okt 2006 in microsoft.public.inetserver.asp.general:
Hi,
Can any help please...

I am trying to use frames in asp page. Well I am aware that frames are
on client side etc..

what I need is following. Let me explain using the main page which have
the frames skeleton :

******FRAME.asp**
<HTML>
<HEAD>
</HEAD>

<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>

</HTML>
************
1) on page what.asp i am extracting value from database in a table
format.

Yes ....
2) when any row in what.asp is clicked the value should change in
which.asp

Either update which.asp with the who;e frame structure after what.asp
submit to target='_top'

Or do it with clientside code that has nothing to do with asp:
onclick='parent.frameOfWhichAasp.getElementById('anID').value=thisOne'
[not tested.
3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.

Tried to search for examples on the net but unable to find any. If any
of you knw any examples please guide me to the site.

Frames are outdated and not necessary in a serverside programmable
environment like ASP. Use includes instead if you want to have standard
parts included in multiple pages.
 
P

philin007

thanks Evertjan for your reply..IF I use include file the whole asp
page that holds the asp file will keep refreshing right!. where as my
objective is for example :
<html>
.....
include1.asp
include2.asp
....
</html>

lets say Include2.asp has the table and when clicked on any of the row
(javascript functoin 'onclick') only the include1.asp shld refresh. At
this point, include1.asp shld fetch the relevant values from database
and display but the include2.asp shld stay static. is this achievable.

thank u.

Evertjan. said:
wrote on 19 okt 2006 in microsoft.public.inetserver.asp.general:
Hi,
Can any help please...

I am trying to use frames in asp page. Well I am aware that frames are
on client side etc..

what I need is following. Let me explain using the main page which have
the frames skeleton :

******FRAME.asp**
<HTML>
<HEAD>
</HEAD>

<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>

</HTML>
************
1) on page what.asp i am extracting value from database in a table
format.

Yes ....
2) when any row in what.asp is clicked the value should change in
which.asp

Either update which.asp with the who;e frame structure after what.asp
submit to target='_top'

Or do it with clientside code that has nothing to do with asp:
onclick='parent.frameOfWhichAasp.getElementById('anID').value=thisOne'
[not tested.
3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.

Tried to search for examples on the net but unable to find any. If any
of you knw any examples please guide me to the site.

Frames are outdated and not necessary in a serverside programmable
environment like ASP. Use includes instead if you want to have standard
parts included in multiple pages.
 
E

Evertjan.

wrote on 20 okt 2006 in microsoft.public.inetserver.asp.general:
thanks Evertjan for your reply..

Please keep to the usenet customs of Not topposting and not writing SMS.

Quote relevant parts of the posting you are replying om and put your
reaction immediately under each quote.
IF I use include file the whole asp
page that holds the asp file will keep refreshing right!. where as my
objective is for example :
<html>
....
include1.asp
include2.asp
...
</html>

lets say Include2.asp has the table and when clicked on any of the row
(javascript functoin 'onclick') only the include1.asp shld refresh.

That is just the point. Why should it?
If you want only parts of your page refreshed, then that could be:

1
... because you are afraid the loading will get slow?
In this fast internet time?

2
... because you do not want the refresh flicker?
Then use AJAX and only change the DOM elements you want without any
flicker.
At
this point, include1.asp shld fetch the relevant values from database
and display but the include2.asp shld stay static. is this achievable.

thank u.

Too much SMS, please include vowels, capitals and questionmarks where
appropriate and expand abbrivations that are not usenet specific.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top