Refresh Parent From Frame
I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.
View RepliesI have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.
View RepliesI have a page with 2 frames. The first one has a link that loads a page in the second frame. This page has a button on it. When the button is hit, the page does some processing and loads another page in the same frame (the second).
I use ASP and response.redirect or javascript in the onclick event of the button to do the redirection. When I refresh the page by clicking the button on the browser (IE), the second frame becomes empty. Please note that the src attribute of the frame is not set.
If I set the src attribute of the second frame to some asp page and then navigate to another page inside the same frame, when I refresh the page, the initial asp page is loaded in the frame regardless of the asp page currently loaded into the frame.
It seems that when you refresh the page, the frames are reinitialized no matter what pages are currently loaded in the frames.
I solved the problem by redirecting to the main page in the top frame, passing some parameters and resetting the src of the frame to the desired asp page. Thus, when the page is refreshed, all the frames are properly refreshed too.
What do I need to do to write the URLs of the two identical iFrames in the textarea of the parent frame? Well, the iFrames are the same asp file, but the three listboxes in each iFrame make their URLs different. The problem is that upon selecting both iFrames listboxes, the 2nd iFrame cancels out the URL of the first iFrame written on the parent's frame.
View Replies View Relateda way to redirect another frame like "response.redirect" in VBScript?
View Replies View RelatedI have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.
View Replies View RelatedI have a pop-up window that allows editing of items displayed in a frame on the parent page. When the user edits or deletes an item in the pop-up window, I'd like it to automatically refresh the frame in the parent page so that the change is more real time and the user doesn't have to refresh to see their changes. Any ideas on how to accomplish this?
View Replies View RelatedIs there a way that I can refresh a particular frame on the ASP page from the server side ...
View Replies View RelatedI have an asp page (parent) which opens a new window (child) with "window.open()". What i want is, when the child window is closed with "self.close()" then the parent window has to be refreshed. Any of you guys know how to do this?
View Replies View RelatedThis is my coding:
window.opener.location.reload(); window.close();
I don't want the IE to pop up the alert msg to false retry or cancel to reload the page.
I have tried:
1. window.opener.location = window.opener.location
2. window.opener.history.go(0)
But as i carry some data from previous previous page, when i use (window.opener.location = window.opener.location), it can't capture my data as it just load the page. It will pop up error as no data captured :
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
Any suggestion?
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
View Replies View Relatedi have a form that pops up based on a click. the popup opens up correctly.
now what i want it to do is this.
1. submit the data to an asp page. that part i got working
2. close the popup box. have that working as well.
3. after processing the data on the asp page, direct to and refresh the
parent page that the popup was created from.
to be more specific....
i have a bracket page, where you click on the winners name to move them
over. works fine. that sends variables to a pop up box, where you enter a
score. that works fine. now when i submit, it only sneds the data to the asp
page, and even though the bottom of the asp page redirects it to the parent
page, it doesn't. it seems like it is trying to redirect to the popup that
doesn't exist anymore, so it does nothing.
Is it possible to update one frame from another with ASP code? If so, how do I write the code?
View Replies View RelatedI built some Web site that includes 3 frames page. After a user
sign-off I want to redirect him/her to a single frame page. When I use
Response.Redirect command, I am getting the redirected page as a frame
and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
I have an ASP site that uses frames two frames. (yes I
should be using include files, but we started ou using
frames so we have been stuck with frames.)
When I get a page expired warning (I am not caching pages)
and a user clicks refresh from the menu bar the user is
taken back to the home page! The home page is a frame with
a top frame that is repeated on each subsequent asp pages
The lower half of the home page is a login screen.
After login the next page is shown in the lower half of
the frame. Refreshing within the individual frames is ok.
But when the Refresh from the menu bar is used the home
page is returned any ideas why?
i have an aspx page. on that page there is a link that open a new popup page. Popup page contain some text fields. user fills that fields and press OK. By clicking OK I append the textbox values in the DataTable, which is already saved in the session
My Problem is that when that popup windows closes by clicking Ok i want to show that new information in datagrid on the parent page(which opened the popup page[window.open]). i have info in the session, but problem is that when i bind datagrid by using the session Datatable on the parent page.
If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?
This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories on my server.
Is this correct?
I have a software that has generated a code for me, not sure if I'm allowed to give out names of other companies on here so i won't for now. anyways, the code has worked for a long time on my server just fine. Until I got a new server, same operating system and everything, i just cut and paste everything over from the old server to the new one. But for some reason now one of my sites will not let me use ".." in my code.
<!--include file=../2020applicationsconnections.asp-->
I would just place the "2020applicationsconnections.asp" file in the folder my current file is in, but then that messes up all the the linking that the "2020applicationsconnections.asp" file had in it. So is there any phrase, symbol, ect. that i should use to indicate a parent directory in this code? or is there some setting i need to change on my server that was set up on my old one.
I have two files index1.asp and index2.asp (Both contains html 3frames)
index2.asp have fame name like this(top,middle,bottom)
[B](in middle frame I'm showing grid1.asp file.)[/B]
I'm showing asp files in these 3 frames.
I'm getting database records and i want to pass "ID" of these database records in index2.asp(middle frame, grid1.asp)
And i want to get this "ID" in middle frame in index2.asp
How can i get?
this is the code
this is index1.asp
<%response.Write("<a href=""grid1.asp?strID="&rs.Fields("ID")&"""target=middle>"& a &"</a>")%>
and getting values of this ID
this is grid1.aspstrID=Request.Querystring("strID")
s = "SELECT * FROM Alphabit where ID="& strID
set rs = conn.execute(s)
it is showing me an error
"Syntax error (missing operator) in query expression 'ID='.
"
I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.
So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?
i have 2 asp pages. the parent and the child. the parent has has a value doc_id which is null. and a button to open the child window. it has other variables and input fields.
the child window creates the doc_id.
Now heres the problem. I want to close the child window, and send the doc_id(created in the child) to the doc_id(in the parent). and close the child window.
But keep the original variables in the parent id. (e.g if the user entered their name in the parent window, then opened the child window, then created the doc_id, then closed the child window, i want to parent to have the user name, and the new doc_id)
How to use server.mappath() parent folder correctly:
Server.MapPath("../test.asp")
How can I access a web.asp code behind class-on from a code behind calss-function in a loaded web usercontrol. A.aspx loads control B.ascx . A's classA.function A displays info to a label on A.aspx .
I want to call classA.functionA from control B's class B.function B so that when I click on a button located on control B, the on click event fires class B function B which then calls class A function A which displays the info.
I have a parent window (default.asp) and on this page I have an IFrame that displays the rest of the menu requests for the site. The url always shows the base url, never other pages because they appear in the IFrame - this is by design.
The content in the IFrame is dynamic and may scroll forever depending on how much data is retrieved from the db. If the user scrolls down the IFrame to view to contents, the top of the default.asp page scrolls with it until it reaches the top of the IFrame.
The problem is that when navigating through the site I can't seem to figure out how to get it to jump to the top of the default.asp page when the page in the IFrame changes. This causes the user to have to scroll up and down throughout the site making it unappealing for navigation reasons.
I know that IIS 6 disables parent paths by default and I see in M@rco's blog that he "hates them with a vengence." The problem with not using them (at least with includes) though, is that your code files cannot be structured in a useful way, otherwise you will not be able to redistribute your code or to move your folders. Code:
View Replies View Relatedis there anyway to get the title of the window that opened a new window? in javascript it would be window.opener.document.title but is it even possible to get that with asp?
View Replies View Relatedi have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.
View Replies View RelatedI have a page with 2 frames, F1 and F2. On F2, I have 2 more subframes, F2A
and F2B. If I click a button on F2A, I want to open the page on the whole
F2. I use parent.frames.F2.location.href but it doesn't work.
If you have a webpage with frames, say a footer frame that contains links,
how can you get out of the frame if you click on a link in the footer. The
it works now, is if I click on a link, the page loads inside the small
footer frame. I'd like it to just get rid of the frames completely when I
clickon the link. Any clue?
I have a program created by Autodesk that uses alot of ASP & Javascript. The program uses an Ajax Viewer to pass a selection set through several files eventually making it to a file called "propertyctrl.aspx", inside that file, it passes to a file called "propertyctrl.templ", which once inside of it, just appears to be Javascripting. So, here is what it is supposed to do:
A user clicks a polygon inside of the ajax viewer. Once clicked the property dialogue box populates the "Name" field, and "Value" field from the properties of the object that was clicked. It looks a little like this: ....
The problem i have is the property dialogue box leaves alot to be desired. Its very basic, what i would like to do is somehow pass the values to another place and rework it so it looks more like this: ...
I have a feeling all i have to do is intercept the code at the property box window and change them to variables that i can then use in HTML, but i am not sure. Below you will find the code for both the propertyctrl.aspx and the propertyctrl.templ file...
Is there a way in ASP to figure out if a page that is being loaded is being loaded into a frameset? I know I can code this in javascript,but I would prefer to only inject a chunk of 'onload' code in the body tag if infact the page is being loaded in a specific frameset.
View Replies View Relatedi have A page that show List of many field from database and i have frames : Top , Left and Main Page. I think it's tired to see the fiel with horizontal scrolliong too long. I wonder that the left frame can be resize to Left(Close to left) then i can open it again. But I have no idea to doing that.
View Replies View RelatedI have a simple web app that consists of an index.asp page that contains in inline frame and several supporting .asp pages. none of the asp pages really include any asp code.
I am trying to set the session.timeout value in my global.asa under the session_onload sub. I am trying to set the timeout value to 1 minute just for testing purposes. In the end I would like the user to be redirected to a timeout page when he/she clicks on any of the links after the 1 minute timeout has been reached.
The page has Top frame (input) and bottom frame (result). The input html page send input to asp to generate result to bottom frame. The page works. But i wish to refresh bottom frame once i click the submit button to see the result by the java function
<script language =javascript>
function button1_onclick()
{
window.parent.mainFrame.location.reload();
}
</script>
But the bottom frame does not reload. is my logic wrong? is it conflicted with form action or method?