I have placed a dropdownlist on a form in using both ASP.NET WebMatrix and Visual Studio Web Developer 2005 Beta, set autopostback to true, made sure I have javascript installed and when the form repaints, it does not show the changes (textbox populated).
I thought at first that the scripting for the autopostback was not working, but then, after doing some searches, discovered that after the autopostback, I could see the results of the updated page only after doing a refresh in IE6. How can I fix this? Is there some IE setting that is messed up on my PC? I have my IE settings to check for newer versions of stored pages every visit to the page. Changing it to "Automatic" has no effect.
I have a few .asp pages in a framed website. I find that sometimes the .asp page reads from my cache instead of refreshing the Database fields when flipping between pages using a naviagation bar in a different frame. Anyone know a little line of code that I could place at the top of my pages that will maybe automatically refresh the page ONCE - when someone enters the page ?
i have an asp website and have an update information page. After i have updated their information, i am unable to see the updated info unless i hit the refresh button. Is there an alternative for the refresh button that will automatically refresh the page?
I have tried the meta tags but they dont work. also i am currently testing the website on my local server. Is there a possibility that this problem will go away once i upload the website on some other server?
How can I make it that if the user clicks the back button --- the page will be automatically refreshed form the database (the asp) and not just show what was on the page before they submitted?
I'm writing a math quiz. Every time the page loads, random problems are generated. The student enters the answers in text fields. They submit the form and the answers are checked.
if they were to press the back button, the same page will be there, and the student can fix the wrong answers. Is there an elegant way to force the page to refresh when the student presses the back button?
How do I force the page to refresh when the user hits the back button on the browser? I have an 'add' record form and I have inserted code so that it will not duplicate if the user submits the form several times.
however I just discovered that if the user goes forward then back and submits again it will create a new record. I want it to display the 'page expired' message.
I have never done the ASP programming yet but I want to hear the logic of the programming and see the sample code so I can have a better idea of how it work...
I have noticed that on one of hte ASP website, it was able to detect whether I did the back/forward button and blocked it.
I would like to know that ,is there any way that the asp page would get refreshed automatically when there is an update in a tbale in SQL Server. The page should get refresh automatically on updates in SQL Server. The user will not hit refresh button neither I want the page to have meta-refresh tag.
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph.
Problem is, I have a recordset table on the 2nd graph page and because the user gets to it by clicking the graph, the page doesn't properly post to render the recordset table. I can click "Refresh" on 2nd page and table displays fine.
Is there an ASP refresh command that I could possibly run to mimick a "Refresh" or F5?
I created a simple website with one page. This simple page has only one text box (asp:Textbox) and no other controls. When i bring the siteup in VS2005 and press enter with the cursor inside the text box the page refreshes. I am not able to understand why it is posting back? I have set Autopostback to false. Am i missing anything or is it the default behavior?
i use remote scripting to refresh my pages all using this function, when my customer have around 300 people, my server become slow then, server cpu always 100% processing......
When an external resouce programmatically post the XML document as content of http post request, and at server-side, I can read the XML data from http request's body. Just like this example provided by Steven Chen:
#Happy Days Are Here Again: Posting XML to the Server http://msdn2.microsoft.com/en-us/library/ms950790.aspx
After I process the data, I need to write a response message to the external resource in xml data format(either succeful messge or failed message). what people usually do, do I just write the xml message to response output stream(let them extract from my page themselves) or post data back to their page (which initially post/submit data to my server program).
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.
I have a form that submits values to an asp page. If their is an error on the asp page that is called and you go back to the first page with the form. The values are not in the form.
How can I set the value back into form without the user having to retype them in? If I use hidden fields on the first asp page and I go back to that page wouldn't the values for the hidden fields be empty as well?
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?
Is there a way to 'force' a submit on a form with out actually allowing the user to press a button ? For example...
step1: A from is filled out by a user, then they click the submit button.
step2: The form is 'post'ed to an ASP page which writes the values to a database. So far No problems. But..
step3: Now I want to 'post' these values again to another page without any user interaction.
My ideas were:
1) I know you can get the form values from Request.Form("myVar"), so I thought of making a 'dummy' form and setting the 'values' of the form variables to these Request.Form("myVar") valiables, but I don't know how to 'submit' them to another page again.
i have a series of .asp pages that i am dividing into model, view, control logic. my view collects a whole bunch of data and posts it to the controller. im wondering if there is a way to somehow "re-post" this same data to my model page.
in short, is .asp capable of taking data posted to a page and re-post that same data to another page?
I am getting the error "No value given for one or more required parameters" with this basic script.
I have checked the fields are spelt correctly and have capitals in the right place. I have also checked with response.write to see the results it produces and it all looks correct. Code:
when trying to connect remote desktop web connection...the "non-web" connection works perfectly (i.e. just launching mstsc and connection directly to an IP).I believe that the problem might exist in my connect.asp file
We have a desgined a web application with ASP, VB, Oracle, Javascript. Ours is a three tier applicaton with the component proxy exported to IIS on the web server.
We have the error 'object required' throwed inconsistently by ASP. After awhile, if we refresh the page the page is working fine. We have been having performance problems like Failureenlisting Resource Manger and MSDTC errros also.
I have been working on requiredvalidation controls..I'd like to know how could I create a validation on a group of controls? for example to validate phone, on the form it may looks like below (brackets are the textbox fields) ([ ]) [ ]-[ ]
how could I validate all three fields with one message error to display in the validation summary?or is there another way to do? btw, am I able to create a textbox or some sort of control that is actually the combination of the three boxes?