Frame Refresh From ASP Page

Is there a way that I can refresh a particular frame on the ASP page from the server side ...

View Replies


ADVERTISEMENT

Frame Doesn't Refresh Properly When Manually Refresh Page

I 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.

View Replies View Related

How Do I Refresh A Frame In Another Page?

I 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 Related

Refresh Another Frame

a way to redirect another frame like "response.redirect" in VBScript?

View Replies View Related

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 Replies View Related

How To Redirect From 3 Frame Page To Single Page Frame?

I 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?

View Replies View Related

ASP Page As Inline Frame In HTML Page

I have a ASP Page[inline frame in an html page] that does login to a database.

When the user visits the site, the first attempt to login will always failed and session is broken. Login name and password are correct though.

Only when the user re-try agian he/sge is then able to login to the site successfully. Can anyone tell me what could had caused the first time login failure?

View Replies View Related

ASP Page Is Not Loading In Frame

I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.

View Replies View Related

Use Recordset Across The Frame Page

I'm trying to build a page which has two frame, one is hidden and the other main. The hidden frame will have all the neccessary recordset and variables.

and main has forms and functions which should retreive data from hidden frame to use it on the form. I noticed it's possible using javascript but i'm building page with vbscript and have not found a way to do it.

The reason I'm trying to do this is to reduce down the server traffic. The page will get local variable rather than accessing database everytime user request some values.

If this is not possible, can someone tell me how to store recordset into session variable? so it can be used across the page.

View Replies View Related

Refreshing A Page In A Frame

I have an application that displays messages that are stored in SQL server
The application uses frames

In the vertical frame along the left side of the page, I enumerate the
current messages. This frame is named "SELECT"
Clicking on a message subject causes

In the main frame, named "BODY" I display the message that is retrieved from
SQL Server in a textarea.

When a message is displayed, I also display a prompt ro delete the message.

The delete prompt works just fine except that I need a way to update the
enumeration of messages in the "SELECT" frame.

Is there a practical way to force the page in the select frame to refresh
itself when I delete a record?

View Replies View Related

ASP Page Not Loading In Frame

I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page.

Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.

View Replies View Related

How Reload Left Frame When A Form Is Submited On The Righ Frame?

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 Related

Response.redirect To Whole Page Rather To A Frame

I am having one asp page(i.e home page) which has two frames in it. Left frame contains menu and whichever option is clicked in it that corresponding page is shown in the right frame. In those pages i am checking for sessionid and if it is different from what is there in the table i want to show the login page.

The problem is that as i am using response.redirect in the pages shown in right frame to go to login page but then the login page is shown in just the right frame but i want to show the login page on the whole page.

View Replies View Related

Passing Text From One Frame/page To Another

I have a date in a frame/page that i want to pass to another page. I can succefully pass a static value, i just can't pass a value from a text box.

I tried to make everything public. I believe that Me. may only refer to the page that is orginating the action. But how do I pass the text box. Can we assume since I can pass the static value, that the issue is how I grab the textbox value Code:

View Replies View Related

Passing Variable To Frame Page

Is it possible to send a variable through a hyperlink, to a frames page, and have all 3 pages in the frame pick up the variable using the request.querystring ?

In other words, I click on a link that has ?id=2 lets say.. it goes to a
page called umm say index.asp the index page has a top, main, and a left.
how do i get each one of those to receive the variable, when i can only send
it to one page? or is it possible to send it to more than one page, but only
travel to one page? so the link looks like index.asp?id=<%=var%> Code:

View Replies View Related

Printing .aspx Page From A Frame

I am working on a project where the site was already created using frames and .aspx pages. I was asked to update pages as well as add new functions. This project is an online training course for internal use only.

I need to put a Print Button on the left frame called "buttons.aspx". I need it to print whatever current content is on the main page. So, of course this will vary from page to page because each has a different file name such as 3_1.aspx and 3_2.aspx. I was able to get the Print function to work but it only printed the "buttons.aspx" page which was nothing more than a few navigational buttons.

View Replies View Related

Differentiate Page Requested Versus Page Refresh

I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the browserRefresh button or is requested by the previous page "Application_Form.asp".

I tried using
<%if Request.ServerVariables("REQUEST_METHOD") = "POST" then%>
<!--it is requested from "Application_Form.asp, do something-->
<%else%>
<!--Application_Result.asp refreshed itself(such as user clicks on the
browser Refresh button, do something else-->
<%end if%>

However, in both cases, the IF statement above all evaluated as true. how to differentiate this two different behavior (Page Refresh versus Page requested by another Page) ?

View Replies View Related

Refresh Parent Page From Child Page

This 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?

View Replies View Related

On Page Load - Refresh Page

I have a page (with a form on it) and when the form is submitted, if there is an error the page is redirected to an error page (i.e. your attempt was unsuccessful..etc) Once the user is redirected to the error page, after a few seconds the page automatically takes him back to the previous page he/she was on.

This is exactly what I want, HOWEVER, when the user is redirected back to the previous page, I would like for the page to be refreshed so the form can be cleared without the user having to click a reset button or anything like that. Does anyone have any clues to how may be able to go about achieving this?

View Replies View Related

Automatic Page By Page Web Refresh

I'm using Windows 2000 Pro SP4 and Office 2000 Pro Sp3.

I have some dynamic database pages that I do not want a user to see from their local cache of pervious visits to this page.

When these individual pages are called, I would always want them refreshed from the server. This is no matter what setting is used by the local browser.

The closest KB article I found was Q200131, but that was not helpful to me.

If a page by page determination of an automatic server refresh (rather than local cache refresh) is not possible, may I just set my entire web to be a forced server refresh for every page, thereby superceding the user's local browser settings.

View Replies View Related

How To Refresh A Page?

When a link on page A is clicked, a window is popped open through javascript and this window contains page B. After doing some modifications in page B(in the popup-window), the user hits 'submit' (in page B) and then the page B window is closed.

Right before page B's window is closed I'd like page A to be refreshed because the modifications the user performed directly modifies the information visible to the user on page A.

My question is divided into two parts:

1 - is it possible to do this? Can the error be detected?
2 - if the answer to 1 is yes, then question 2 is: how?

View Replies View Related

Refresh The Page Value

I want to insert the selected name in my action list. for that first add the person name & then select the name & then want to inser them. but i am getting problem here ...

In Asp I have opened a popup window, from current window. And on closing that new popup window I have to refresh the current window ( parernt window from which i open this pop up window ) It is Refreshing but I am facing one Problem. that Windows Retry Option of Refreshing is Coming...

i want to remove this option & let the page auotomatically refresh .. but how ..?

View Replies View Related

How To Refresh Page

how can i actually refresh a page after a successful addition of record.

View Replies View Related

Page Cant Refresh

I trying to refresh the page after 6 second after the Name is displayed. But doesnt seem to refresh after 6 seconds. Code:

View Replies View Related

Get Value On Page Refresh

I have a simple page that has a dropdown and I need to populate a textbox with the onchange event. How can I do that? My page refreshes, but I don't know how to 'get' the value of the dropdown. Here is some of my code ....

View Replies View Related

FSO Refresh For Page

I am writing a site that i structured like:

mysite.com/yourplace

Your place changes all the time as users set up their pages.

I have a default.asp page that populates info depending on the directory name.

To get the directory name I use FSO

Set fso = CreateObject("Scripting.FileSystemObject")
Path=request.querystring("")
Set ts=fso.GetFolder(Server.MapPath(""))
Set folder = fso.GetFolder(Server.Mappath(""))

Set subFolders = folder.SubFolders
For Each folderObject in SubFolders
strDirectory = folderObject.Name 'make dir name string for db

Then I call from the database the info I want

Code: ....

View Replies View Related

Refresh Same Page

How can I get a form to refresh a page.I want to add a login script as an include file on all my pages.The script needs to reload the current page that the visitor is on.

<form action="reload.current.page" method="post">

View Replies View Related

Refresh Page

I have a form in an ASP page wich later connects to a database, but before that i need to refresh the page so a mandatory function can work (by mandatory i mean, "the refresh function has to be there just because I say so"). But the problem is, when the page is refreshed I loose the data that so far has been written by the user. How do i refresh a page without losing data entered in the form.

View Replies View Related

Refresh The Page

I'm doing a page which gathers some text in the form of a text box in a <form>. This text is saved to a text file, notices.txt and I want to be able to display the saved text on the page, as soon as they click the SUBMIT button - is this possible?

At the moment I have a hyperlink called "back" which, once they have entered the text and they click SUBMIT, the "back" hyperlink will refresh the page and it displays the newly entered text. However, I want to avoid them having to press two things in order to see the text they have entered..i.e., can the submit button also totally refresh the page and display the newly entered text?

View Replies View Related

Refresh Page ASP3

I am working with asp 3.0.i am getting data from the databse but whenever I view the page,it does,nt show me the latest data from databse rather it shows the page last viewed.i have to click the refresh button in the browser to view the latest updates?

View Replies View Related

Page Refresh Using Frames

I have a page which contain 2 frame. On the 1st frame which contain a header and a drop down box and the 2nd frame contains information. I would like to know how to refresh a whole page from a click of a button which will then refresh a new value base on Session ID?

View Replies View Related

Page Onload/refresh

Is there a way to determine if a page was refreshed? I have a function that is called when the page loads, but when the user refreshes the page it calls the function again. Is there a way to call the function only when the page initially loads? I don't want it to load when the user clicks the refresh button.

View Replies View Related

Page Won't Refresh When Changed

I just installed IIS on my Windows 2000 system. I tried to place a .ASP page on my C:Inetpubwwwroot directory, and it seems to work.

However, when I change the page content (the code, or even the text), the page doesn't seem to refresh... (It doesn't seem to be a IE cache problem). Is there something I'm forgetting in my IIS configuration ? (or in the global.asa file ?)

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved