A Digital Age Deserves A Digital Leader

Asp And Using Frames

Asp And Using Frames

Postby denis_o_leary » Mon Jul 26, 2004 6:00 pm

Hello everybody... Have you got any idea how to do the following:
If we've got a page using frames, how can we affect other frames or the parent page using ASP? I know this is simple if I use Client-side script, but how with ASP?
For example, I if use "Redirect" command in one frame and I want to change the title of the parent page, how can I make the parent page to be refreshed USING ASP? Thanks in advance
PRO Level 4
Posts: 109
Joined: Wed Jul 23, 2003 10:57 pm
Location: Ireland

Postby samerali » Sun Aug 01, 2004 1:13 am

hey,
can you please denis explain in more details? so i can help you
<b>Reviews</b>:<a href="http://www.pro-networks.org/forum/viewtopic.php?t=11451&start=0&postdays=0&postorder=asc" target="_new">Cleaning Registry</a> | <a href="http://pro-networks.org/forum/viewtopic.php?t=11092&start=0&postdays=0&postorder=asc&highlight=" target="_new">MP3pro</a>.

<b>Coming Reviews:</b>
*Best Ways To Surf the Web anonymously.
*Increase Surfing Speed up to 200%.
*What u have to do after installing windows xp.

<a href="http://www12.brinkster.com/samerasp/post.asp" target="_new">BB Reveiw Generator</a><br>
PRO Level 2
Posts: 49
Joined: Sun Jun 22, 2003 9:18 pm
Location: 10th Of Ramadan

Postby denis_o_leary » Wed Aug 04, 2004 6:00 pm

Ok, let me say it this way.
Just a suppose: I have got a page which uses 2 frames. We know that the title of the page does not meet the title of each frame. In one frame, user enters a name. When he submits the form, the frame changes but the title of the page is still the same and I want it to change as well. For example to be: "NAME - mycompany.com".
I know this is very easy by using scripts (for example by refreshing the page) but I want this to happen just by ASP coding.
So, totally, I can say that I need to refresh a page by an ASP command. Do you know how? Can I make this change by the command "Redirect"? For example does it work if I add "_top" to Redirect string? (I'll check this but I thinks not).
So do you know any other commands to do this ONLY with ASP?
If I want to explain my question in a sentence, it would be:
A frame changes and some evaluations happen. ASP decides to change the title of the page. Which command can refresh (or redirect) the whole page (not only one frame)?
Thanks a lot
PRO Level 4
Posts: 109
Joined: Wed Jul 23, 2003 10:57 pm
Location: Ireland

Postby samerali » Wed Aug 04, 2004 6:26 pm

ok,
say that we have 2 frames.
"frame1" which hold the data of the "form1"
"frame2" which will get the user name according to the submit of the "form1"

1. make "form1" target to the name of "frame2" and action="submit.asp" and make the field which hold that name of the user is "name" , form method="get"

2. in submit.asp, write this
<%
Response.Write(Request.QueryString("name"))
%>

Im not sure if that exactlly what you want, anyway let me know if i did not got it right.
Good Luck
<b>Reviews</b>:<a href="http://www.pro-networks.org/forum/viewtopic.php?t=11451&start=0&postdays=0&postorder=asc" target="_new">Cleaning Registry</a> | <a href="http://pro-networks.org/forum/viewtopic.php?t=11092&start=0&postdays=0&postorder=asc&highlight=" target="_new">MP3pro</a>.

<b>Coming Reviews:</b>
*Best Ways To Surf the Web anonymously.
*Increase Surfing Speed up to 200%.
*What u have to do after installing windows xp.

<a href="http://www12.brinkster.com/samerasp/post.asp" target="_new">BB Reveiw Generator</a><br>
PRO Level 2
Posts: 49
Joined: Sun Jun 22, 2003 9:18 pm
Location: 10th Of Ramadan

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 3 guests

cron
cron