refresh

Browser refresh behaviour

When a user hits Refresh on their browser, it reloads the page but keeps the contents of form fields. While I can see this being a useful default, it can be annoying on some dynamic pages, leading to a broken user experience. Is there a way, in HTTP headers or equivalents, to change this behaviour? ...

.Net CF Prevent Overzealous, Impatient Clicking (while screen is redrawing)

.Net Compact Framework Scenario: User is on a screen. Device can't finds a printer and asks the user if they want to try again. If they click "No", the current screen is closed and they are returned to the parent menu screen. If they click the "No" button multiple times, the first click will be used by the No button and the next click w...

Auto refreshing the UI when business objects change

This is more of a design question. I am building a tool that displays business objects in various ways (ie Tree Nodes, List View Items, Combo Boxes, Text Fields, etc). Anytime the user changes any of one of them, an event is raised that signals that that business object has been changed or the collection that it belongs to has been c...

Force a full Java applet refresh (AWT)

I have a Java Applet that uses AWT. In some (rare) circumstances, the platform does not refresh the screen properly. I can move or minimize/maximize the window and see that my applet refreshed properly. I am looking for code that will give me the fullest possible applet screen repaint, simulating the behaviour of a minimize/maximize. I...

How to refresh Internet Explorer using SendMessage?

Hi, does anybody know how to refresh the Internet Explorer (like by pressingthe F5 key) but using some "backdoor" like PostMessage or SendMessage? The internet Explorer Window is not active so I can't use the keyboard. Thanks (Language doesnt matter) ...

Getting Post - Redirect - Refresh to call redirect page rather than original request

We have a POST to a PL/SQL database procedure that (a) does some database operations based on the POST parameters and (b) redirects the user to a page showing the results. The problem is, when the user does a browser "refresh" of the results page, that still has the original request, so it calls the database procedure and resends the pa...

Is there a way to refresh the Cache in Sun Application Server 8.2

Hi, I'm trying to make updates to some static html templates running from Sun Applicaion server 8.2. When I save these updates and refresh on the client side I don't see any changes. From looking at the logs, its seems to be using the old cached page: [#|2008-10-30T17:44:01.775+0000|INFO|sun-appserver-pe8.2|javax.enterprise.system.s...

WPF DataContext Binding and Refresh

My scenario is: I have a WPF Window with 3 data-bound text boxes SettingsUI : Window <Grid Name="SettingsUIGrid1"> <TextBox Text="{Binding Path =val1}" .... <TextBox Text="{Binding Path =val2}" .... <TextBox Text="{Binding Path =val3}" .... </Grid> In the constructor I do this: SettingsUIGrid1.DataContext = coll[0]; // collection f...

Question How to invalidate/refresh the VS IDE designer for C# ?

I have CustomForm inherited from Form which implements a boolean property named Prop. The forms I'll be using will inherit from CustomForm. This property will do some painting and changes (if it's enabled) to the form. However, this is not working as it should, the VS IDE designed is not being refresh to show the changes. But if I press ...

Refreshing infragistics WinGrid from other form

hi, I have used Infragistics Wingrid in my application.will explain using Example. In one form i am displaying Employee Detials in Wingrid. now when user clicks on new employee new form will open there he will fill the details and when he save at that time the WinGrid is not getting refresh eventhough i have updated the Datasource of t...

NHibernate child objects update problem

I have an object that called 'category' and the table looks like this. CATEGORY ID int ParentCatalogID int ParentCategoryID int << This is the ID of this table Position int Title nvarchar(128) Description nvarchar(1024) LastUpdated datetime DateCreated datetime IsActi...

Java GUI repaint() problem? [solved]

Hi, I have a JFrame. This JFrame contains a JButton. I click the JButton and 10 JTextFields are created. the problem: I cannot see them until "I force a repaint()" by resizing the window. Only then do I see the JTextFields created. CODE: JPanel points = new JPanel(); //Creating the JTextFields: for (int i=0; i<10; i++) { JTextFie...

WPF problems refreshing textblock bound to console.stdout

I am building a small wpf app in C#. When a button gets clicked a third party dll function constructs a tree like object. This object is bound to a treeview. This works fine but takes a bit of time to load. As the dll function constructs the object it prints progress info to the console. I want to redirect this into a TextBlock so th...

What requests do browsers' "F5" and "Ctrl + F5" refreshes generate?

Is there a standard for what actions F5 and Ctrl+F5 trigger in web browsers? I once did experiment in IE6 and Firefox 2.x. The "F5" refresh would trigger a HTTP request sent to the server with an "If-Modified-Since" header, while "Ctrl+F5" would not have such a header. In my understanding, F5 will try to utilize cached content as much a...

Java Applet refresh problems

I have a Java Applet (JApplet). This Applet uses a JComponent(PanelAux) to show values and images that change periodically. But the applet doesn't refresh itself. What can I do to refresh my applet? //--------------------------------------------RUN public void run() while (true) { try { myThread.sleep(1000); ...

html static page position after refresh

I have a page where I would like it to remain static after refresh and does not default back to the top page again as it will disrupt the position I was viewing it last. Hence I have all the time to scroll down again to find the area I was viewing last. Is there a way of eliminating the burden of scrolling down again? ...

Refresh problems with databinding between Listview and ComboBox

Hello, I am wrestling with a binding problem in WPF/Silverlight. I have a Listview witch is filled by a DataContext form an EF linq query. In the same usercontrol are textboxes. When changing their values, the listview gets refresht and the data is changed in de db bij .SaveChanges. The problem is that if I use a combobox the data is sa...

Refresh a Div that has a Google ad inside it

Hello all, I have a div that holds a google ad. My website is mostly AJAX and there is no need for a browser refresh. That means my ads will not refresh either, which isnt ideal, a user staring at one ad all day. So I wanted a way to refresh a particular div on a page. I found many solutions but they didnt work. For example, using JQu...

Auto refresh web page

I have a web page which allows the user to carry out various operations that in turn modify the database. Also, this web application needs to keep track of various fields in database that keep changing with time. Is refreshing the page every few seconds the best possible way to implement this? For example, if there is a long list on the ...

Run CGI application without redirecting from HTML

I have an html page populated from a cgi app. Right now when I make a change on my html page through a form <form action="/cgi-bin/Lib.exe" method=POST name="checks" ID="Form2"> It takes me from http://localhost/index.html to http://localhost/cgi-bin/Lib.exe where the CGI outputs some debug lines I put in there. I then have to manua...