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'm having an issue where if I open my database and try to list everything line by line from top to bottom, it'll list about the first 25% of the entries in order, jumps over about 30 lines, displays all of the last entries in order, then jumps back to the missing entries and lists them in order. Can anyone tell me what might be causing this? Code:
SelectSQLSpecial = "Select * from Items;" CurrentIDSpecial.open SelectSQLSpecial, adoCon do while not CurrentIDSpecial.eof Response.write(CurrentIDSpecial.fields("ItemID") &" ") CurrentIDSpecial.Movenext LoopCounter=LoopCounter+1 Loop CurrentIDSpecial.Close
I have no clue why its doing this. The code seems so simple I just can't figure out what'd cause the weird jumping pointer.
i 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.
We have a Web page that at load time will execute and build: a DHTML Menu/Data Driven, an Iframe with Detail Data, an Iframe to display Progress Information and another iframe with totals information of the previous iframe with Detail Data. Everything works fine except during the initial load. If we click on any place of the page during the above loading schema, the process stops and we end-up with Iframes with incomplete information and empty calculations. We need to refresh and avoid using the mouse and keyboard during the load time to get a decent start.Is anyone familiar with this behavior? Any ideas to solve this issue without disable the mouse?
I have a webaccount to which I have pointed two domain names. Since I have two different sites on the same webaccount I want to redirect the browser to the correct starting page given a specific domain name. Code:
I need to take a set number of images, and have them display in a iframe on my page. I want to be able to have a Previous and Next button at the bottom of the iframe that will take my users to the corrisponding page of the document. I was told that an Array would be the best route to take for this. Here is what I have so far... and as you can guess there is something wrong with the code:
I would like to prevent a page from breaking out of it's iframe when indexed by a search engine. I would like to use asp (which I am just starting out in) and I know it is somewhere along the lines of "yourframespage.asp?id=pageid".
Can anyone give me a rundown of how I do this exactly because I cannot seem to work out how to do it.
Big.asp includes an iframe called small.asp. Small.asp has a form. How can i make that form to be submitted to big.asp? Because if I simpli point the form to big.asp, it would open a big.asp into the original big.asp .
The default ASP generates the HTML response including several IFRAMES. It takes a long time to load this page. I believe a lot of it is round trips to load the IFRAMES. Couldn't include files be used to increase this performance, so everything is done in the initial call instead of multiple round trips?
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.
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.
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 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 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.
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)
I 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.
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.
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 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:
is 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?
i 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.
I have an ASP page form that will be used for data entry. I am redoing a MS-Access Runtime application that has been used for a few years.
One of the issues; "What to do about the conditional visibility code" I had set on several of my Form objects.
What happens is, based on what value the user selects from a drop down box; additional fields would become visible requiring input. What I came up with in ASP was a POP-Up Window.
I got the window working by downloading some code from a tech site and I set up a "Switch” statement to conditionally the POP-Up window's initiation. I set up users input fields and I tested it and it works fine.
The PROBLEM:
With the Parent window still open, how can I pass the values from the POP-UP back into it for use? I mean without closing the Parent Window and Losing all the data values entered in the previous form fields.
How do I set it up so that when a user submits the Parent window data the POP-Up values go with it? I've have tried the standard POST Method but the Parent can not see the POP-UP window Form Field values.
I have an asp application where in a certain page you have to enter a PO number, if you click the search it will bring up the 15 most previous PO number w/some information.
I want to be able to have those PO Numbers to be links, that when you click them it closes the new window(I have this) and the parent page can grab the PO number clicked and display that in this text field how would I go about this?
I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?
I am trying to redirect back to a child form after a submit with a file upload and verification of file data. I would like to go back to the form and display a message returning the status of the data. Is that possible? Any suggestions on an alternate? I am using classic ASP, javascript and vbscript.
I have some asp files that are included in each of the (asp) pages of a new website I have built.I have many pages in the website, in many directories (3 levels). The administrator does not alow to use parent path, and this is problematic to me now. Any change of location of the included files, will not prevent from using parent path to access them.What can I do?I can not use one directory for all paes.
i have several errors when i want to include a file in my asp codes using "include file" object. i am using windows server 2003 and IIS6. have can i solve this problem?
The error description is like this....
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file '../adovbs.inc' cannot contain '..' to indicate the parent directory.
When a user clicks in the text box, by using the onclick event, i am opening a popupwindow with a list box. Now when the user selects a value in this list box, i want to pass that value to the parent window and populate the parent textbox.