Force Refresh
My main page shows a table to which a user can add data to by clicking on a button, this in turn loads up a pop up window where the data to be entered is typed. Once the data is submitted the popup window is closed via Close button, but the table on the main IE page only shows the updated information if the refresh button is clicked.
All i want to know is, is there a way of forcing refresh of the main page when the close button in the popup window is clicked. Code used for the close button:
<TD><a href="javascript:self.close()" title="Close"><IMG align="center" src="http://localhost/***/close.gif" alt="Close Window"></a></TD>
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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.
Using Refresh Button On The Menu Bar To Refresh Two Frames.
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?
Force Download
I'm trying to force a file download using ASP but not getting very far... I want the browser to send .pdf files to the user rather than trying to open them within IE (or wotever browser). Does anyone know what code I should use for this?
Force ASP Code
I need to find a way to force all the asp code on a web page to load regardless if the user hits the reload or stop button on the browser. I am seeing where more and more users are doing this and it is causing me some problems on some pages. I would guess there is a way to do this I am just searching for the wrong thing?
Force Grid
I got my excel doc to export but it has a white background, can i export it with with out the background and show the grid like a normal file
Force A Download
how would i for a browser to download a file (specifically mpgs) i can get it to go for small 4mb files, but the larger ones if they do go, take bout 15 mins to even begin the download.
Force Download
I'm trying to create mp3 downloader and force download instead open in explorer. it's ok if the song is at my server but what if songs are at another server. I try to split full path to file path and file name but doesn't work. Script don't work if is song at my server and path to song start with http://www...
Force Caching
Every time my page loads in IE6 the navigation reloads. How do I stop this happening? It works fine in FireFox. I do have <% response.expires = -1 %> at the top of my page. Would this affect the navigation graphics as well?Can I force a user's browser to cache the nav?
Force Save As Dialog
Is there a way I can force a Save As dialog? I have a page with a bunch of files listed for download. Unfortunately, these files attempt to open directly in the browser. I need a way to force a Save As.
How To Force A File Download
How to force a file download Is it possible to use ASP to create something like, the following webpage, where you click on the download Mozilla now and up pops the downloader. http://www.download.com/Mozilla-Fire...eatured.editor I need to make it so that I can download a .WMV video file. because giving users the direct link doesn't work and I think its alot better than asking them to right click and save item as..
Force Download Of .pdf Files
The below code forces a prompt to the user to open or save the .pdf file file to their local machine. It seems to work great except I have one user who can not open any .pdfs using this prompting method. He gets an error that says "File could not be found". However, if we choose the 'save' option instead, we can save the file to his local machine. He can open .pdf files from normal links to .pdf files. It's just this prompting method that is causing a problem. So, I'm perplexed. I did some digging and found that there is also an FSO (File System Object) method (which may or may not solve my problem), but I'm not sure how to impliment the FSO or if that will even help me with this.
Force Download Of Pdf File
How do i force a user to download from a hyperlink as adobe pdf file, it loads up in a new window and I need them to download it, or at least give them the choice to download it.
Force Activex After Declined
We have a web application that prompts the user to accept an ActiveX control (in this case, a report creation control) and then continues. If the first time the user gets this prompt, they accidentally decline to accept, they have no way to force it to load later. Any suggestions on how we can force this prompts again?
WWW-Authenticate To Force Anonymous
I have a server that hosts a few intranet sites. The one that all my coworkers have their Home Page set for causes their browser to authenticate, which is all good. The one i'm working on now requires Anonymous Access in order to work, but the authentication from the first one is carrying over to the other. Can I use WWW-Authenticate to force anonymous access isntead of using it to force NTLM, Basic, etc?
Force Scroll To Bottom Of Page?
I have a page that does a postback using ASP.NET and VB.NET. Basically, there is a form item that changes the settings on the page and it is near the bottom of the page. If you change it, the page has to refresh to display the changes to the page, but when it does, the refresh causes the page to be displayed at the TOP of the page. Is there a way to force the page to either A: scroll to the bottom or B: (even better) scroll to a certain focus point on the page by giving the name of a control or something?
Force Page To Open In Table
I have 2 .ascx files and one .htm file. One of the .ascx files is basically just a table with four rows. One of the rows has table for the other .ascx file, which is the menu, and the .htm file, which is the body content. Code:
ASP Force Download Of File From Webserver
I am creating an asp application which is essentially a file management app. I am trying to get my head around a technically issue wonder if someone can offer some help. I want to be able to force the download of the files are attached to a particular record. The code which i use to force the download is: <% strPath = "C:MyFiles" Set Upload = Server.CreateObject("Persits.Upload") ' Build path to file strPath = uploadfilepathactual Path = strPath & "" & strFileName Upload.SendBinary Path, True, "application/octet-binary", True %> I want to be able to change the path to say something like strPath = servernamec$myfiles Is the above possible. Any other alternatives.
Force A File Download Dialog Does Not Work In 5.5 Sp1
i am using the following code to force a file download dialog in asp Response.ContentType = "application/vnd.ms-excel" response.AddHeader "content-disposition","attachment; filename=" &" & StrFileName Now the it works fine in ie5.5 sp2 but no ie5.5 sp1 it prompts the user twice the open dialog box. i found on microsoft site that it bug in ie 5.5 sp1 and it says to upgrade to sp2. but my users are not willing to ugrade there ie. can you please help me out how can work this in ie5.5 sp1 or anyu other way to force a file download...
How To Force Pdf Download - Not Open In Browser Window
How do I force a pdf to be downloaded rather than opened in a browser window? I've got the code below, which seems to work in Firefox, but in IE7 it spits out a huge page of wierd characters: <% Response.ContentType = "application/pdf" FPath = server.mappath("pdf/portfolio.pdf") Response.AddHeader "Content-Disposition","attachment; filename=" & FPath Set adoStream = CreateObject("ADODB.Stream") adoStream.Open() adoStream.Type = 1 adoStream.LoadFromFile(FPath) Response.BinaryWrite adoStream.Read() adoStream.Close Set adoStream = Nothing Response.End %>
Force A "page Expired"
I have a registration page where people sign up for different tennis leagues. However after they're done, they change their minds and use the back key to backup a page and either add or change their selections which ofcourse messes up registrations completely since it was written to the database already. BIG FAT COLORED letters do not prevent them from doing this, neither do they read any instructions. (Which I probably should know by now....) I need to prevent them from doing this by expiring the pages. Both these sites are using asp pages, but the one site is linking to an MS SQL database and the other to an Access.
Refresh
How can I refresh one webpage from another?
Refresh
How can I get an ASP page to automatically refresh on load.
Refresh
Why do I need to close and open my browser to see the changes made to the code(javascript)?? How can make the page refresh without closing the browser.
Do I Have To Refresh Every Second
I have this asp page called create project . In this page, there will be a list of clients (pulled from db) for the user to select. User could also click on the create client button to open up a seperate page/window to create a new client. After they have created the client, the page will be closed. How do I tell my create project page that a new client has been created and so, refresh the page? Do I really need to set my Create project page to refresh every second?
Refresh?
I have a asp page where i display all the records i create a hyperlink with that records and when any one click on that link a popup window will appear where user enter the new data and click on update button then i update the fields and the popup window will close but my problem is that when i click on update button i also want to refresh the parent(previous) page please tell me how can i refresh that page ....
Refresh
My page uses code like this to redirect to other pages for the purpose of allowing errors and confirmatory statements to be seen by Administrators and Users alike. Response.Write("<meta http-equiv=""Refresh"" content=""4; URL=AdminSelectAction.asp"">") The problem is that this does not allow the refresh button to be pressed because it does not change the address in the address bar in Internet Explorer. Response.Redirect does change the address. Is there a way to make a pause before changing the page that WILL change the address in the bar?
Refresh
On my form,the user puts in ref no,and clicks submit. a new window gets opened. but when I click on refresh on the browser. the same action takes place(new window opens). whats going on. i dont want this to happen. the page should reload.
Refresh
im trying to create one page. which let user to fill in data... then when click on submit button. it pop up one "small windows", which content are:"Thank you for fill in...". den when the user close da window. the parent window can refresh itself automatically. how to write the codes of once close da "small window", the parent window itself can refresh?
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?
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 ..?
Refresh Page
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? What I shoud do?
Refresh And Session
If I logout of my websie I run the session.abandon command that is supposedly gonna destroys all session variables. Then if try to access a private asp page it actually shows up despite me having : if not Session("login") = "true" then response.Redirect("login.asp") at the start of every private page. If I hit refresh on the private page I do get redirect but I dont see why it doesnt happen straight away. Another thing, kind of the same problem, when I add record to my access database then I goto the page that actually shows does record I sometime need to hit refresh for the new record to show up. Code:
Refresh A Frameset
My frameset has three frames, header, navigation bar and a main page. I can tell when the server has timed out because the session variables have been reset but, when that happens, how do I refresh the frameset and all the frames?
Unwanted Refresh
I have a page that update an Access db. When I operate on this page, randomly the screen is refreshed and I loss the data that I have eventually digited and not saved.
Drop Down Box Refresh
i am having one application for the i need help like in my application i have one form and that have one drop down box and beside that i am having one more link if i open that link and if i add text that must came to the drop down for that i dont want to loose the preves valuse witch enterd in main window for that i need to refresh only that drop down not all the fields in that form any body.
META REFRESH
Can someone explain to me why the META Refresh doesn't work in an ASP.NET page? It works just fine in my old asp one! Content value has to be in quotes if not otherwise I get a warning. Code:
Form Refresh
I'm having a small problem with refreshing my form after saving data in my database! here's what i'm trying to do: * In my UpdateDB.asp form i display my database records and the user can make changes on whatever record he wants; * after he'll have to save changes by hitting the save button on the form; * when i receive the "save" action, i update the database; set a session variable that i'll use later to true ( Session("UpdateDB")= TRUE) and DISABLE the Save Button. *once i'm done with it i reset my session variable to false ( Session("UpdateDB")= FALSE); and WOULD LIKE to "ENABLE" the save button; but i can't. Everything works just fine but i can't "ENABLE" my save button? how can i refresh the page and get back the save button? i thought that after resetting my session variable to false would help me but i don't know how to use it?
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:
IE Refresh Problem
I seem to be having a wierd problem with IE where when I refresh the page manually, it does something like delete the session variables because it redirects to the invalid login page. I really don't have a clue what is going on in my ASP, if you have any thoughts, then post 'em up!
Refresh Problem
Just built a site for my football team and have a page that displays news articles that are pulled from a database, it shows the last 5 that have been added. I have a seperate admin page where you can go and add a new article to the database by filling in a form and submitting it. It all works fine apart from if you add an article and then go to the article page to see it it wont show the one just added unless you refresh the page. Not a major problem I know but very annoying. I would have thought that after adding the article going back and reloading the article page should reflect the changes just made automatically?
Refresh Problem
i dont want that evrey time i do "back" in the Browser i get "expired" and i have to do refresh. i wrote Response.Buffer = false it doesnt workso i worte response.Expires =15 and from some computers i got the expired and from other none.
Refresh Limit?
This code refreshes correctly: <% Response.AddHeader "Refresh", "5;URL=page.asp" %> This code does not refresh: <% Response.AddHeader "Refresh", "1140;URL=page.asp" %> Is there a limit on how many seconds I can use?
Page Refresh
This is my situation right now. 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?
IFRAME - Refresh
It's me again asking about IFRAME. With UncleWobby, Steven Burn and Roland Hall's help, I was able to create a proper IFRAME section on my page. Now I come to the next problem. I'd like to be able to: - manually refresh the IFRAME, and - set a time interval to auto refresh the IFRAME I've got <META http-equiv="REFRESH" content="10"> in the child page (src of IFRAME) which refreshes the page in IFRAME every 10 seconds. Is there anyway I can - change the refresh interval value, and; - set the page in IFRAME to auto refresh or not; from the parent page but without submitting a form from the parent page (to avoid refreshing the parent page)?
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 ....
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: ....
Signs Out On Refresh
Im having a little trouble with my ASP Page, basically when your are signed in, if you try to refresh the page it will sign you out, it did it ever since i made this log out text. <a href="index.asp" onClick="<%session("loggedin")=false session("userid")=""%>">Log out</a> Ive given it a onClick event so the page wont logout unless its clicked but it still occurs. Help will be appreciated.
|