refresh

Detecting changed form values -- Firefox replaces with user-input values, breaking dirtiness detection.

Hi, I'm implementing form dirtiness detection for a web-app. The 'dirtiness' that I'm interested in is the server's value versus what's displayed on the form. The server is running Django, most of our scripting is in jQuery. We serve the form fields with the correct default values corresponding to the value on the server, e.g. <input ...

Is There a way to update/refresh only one record in delphi dbgrid?

Is it possible? How? ...

Why is binding refresh delayed until completion of delegate Command? (MVVM)

I'm applying the MVVM pattern. I've got a button which, when clicked, invokes a delegate Command in my ViewModel. At the very start of that delegate method, I set a property value (WaitOn) that should notify the user back in the UI to wait by displaying an animated control. However, the binding to display that animated control doesn...

how to follow meta refreshes in Python

Python's urllib2 follows 3xx redirects to get the final content. Is there a way to make urllib2 (or some other library such as httplib2) also follow meta refreshes? Or do I need to parse the HTML manually for the refresh meta tags? ...

Update JAR used by Android app in Eclipse

My app uses an API from an external JAR file. This JAR file has been added into my project and added in the build path. My project builds and runs just fine, but now I need to update the JAR file (some code in those classes has changed). I created a new JAR and copied it into my project after removing the old one. Do I need to "re-import...

sIFR: page refresh causes background images problems in IE8

I'm using sIFR 3 r436. When a page is reloaded, and often also on load, in IE8 the background image does'nt appear completely. When clicking on an intern link the background is displayed correctly. Google Chrome has also minor problems in displaying. This is the test document: http://testserver.simplexontwerp.nl/sifr/ I have been test...

How to 'Refresh' the Vista start menu programmatically.

Hi, I am working on a piece of code that removes an extra folder we have in the user's start menu. I start by removing all of the shortcuts it contains, and then remove the folder itself. After this is done, I can confirm that the shortcuts have been removed from the start menu, but their containing folder remains listed in the start ...

Why won't control update/refresh mid-process.

I have a windows form (C#.NET) with a statusLabel that I can not seem to get to update in the middle of a process in event handler methods. My code looks like this... void Process_Completed(object sender, EventArgs e) { string t = "Process is finished!"; this.Invoke(new StatusLabelUpdator(updateStatusLabel), new...

JQuery Div update on database update

Right now I am using setInterval to refresh a div every few seconds. The page it is refreshing is data being pulled from a database in asp. I would like to have it only refresh the div when a change occurs in the database because the query is pretty large, but I've searched and could not find function or example for this. I figure the...

Does Meta Refresh work during page load?

Page A has a meta refresh to redirect to another page, C, after a certain amount of time (time T). From page A a link is clicked that takes a long time to load, longer than time T, and would eventually load another page; B. Will the meta refresh on page A cause the page to be re-directed to C, or will the processing of the link overri...

Refresh property grid, at Design-time, when a readonly collection changes in .Net, Winforms

I have a class that has a readonly collection property - Its a list of extender providers that have been applied to the control. I've implemented a simple property descriptor for the collection so that the property can be expanded in the property grid to examine each entry. When I select an extender provider and set it to false, I remo...

How to refresh datagridview when closing child form?

I've a dgv on my main form, there is a button that opens up another form to insert some data into the datasource bounded to the dgv. I want when child form closes the dgv auto refresh. I tried to add this in child form closing event, but it doesn't refresh: private void frmNew_FormClosing(object sender, FormClosingEventArgs e) {...

onbeforeunload dilemma: iframe breaking vs. annoying message on refresh/back buttons click

I'm implementing a search service called SearchInsideOut. http://bit.ly/97SFyW This search service simply replaces web page results by full web pages (Yes, I used iframe). The problem I have to deal with is iframe-breaking pages. The promising solution I found is using onbeforeunload to let users decide whether to stay or leave my site....

C# binding to table, refresh form controls when data row content changes

I'm working on a handheld device using C#.Net against SqlCe database. I have a form with multiple panels, each panel has its own group of textbox controls. When the form is built, I auto-bind each textbox control to its matching column name from a table I query from a database. Ex: txtFld1 = ResultTable.Fld1, txtFld2 = ResultTable.Fld...

FF loads CSS differently on refresh

I've added a little jQuery enabled promotional ad to the header of our website. Debugged it in FF and verified that it's working in IE. I start going around the office and noticed that in FF, whenever a person hits the page "for the first time only", the position of the ad is not correct (using absolute positioning). Refresh the page a...

Open an URL in a web browser and refresh it continuously from C# app

Hello, The title is self explanatory I guess. How can I develop a C# application to open a page in a web browser, given the URL, and refresh it continuously (always the same URL). Thanks! ...

can i make javascript persist after a refresh?

In my form i need to select an item (which is a div with text or an image) and i do set the id of a hidden input via jquery live click event. In the case the user has logged out or session has expired he must go back and refresh the page (after logging in). After a refresh firefox keeps all input data (textarea, text, select, etc). BUT...

PHP/HTML Strange refresh problem

After I upload my PHP files to my web host, I view the page by the URL. So what I usually do as I work on the page is make a change, upload, then refresh the browser to view my changes. What I find is that sometimes I refresh and it shows me a previous version of the page, I hit refresh 5 times and it shows me 5 different versions of t...

Twitter refresh page via API

Hey all, I'm using the Twitter API (via TweetSharp) and was wondering if it's possible to automatically refresh the page from the API so that all users see the update? If so, is it also possible to take it one step further by only have a partial page update so only the relevant change is updated instead of the entire page? Thanks for ...

How to clear wxpython frame content when dragging a panel?

Hello, I have 3 panels and I want to make drags on them. The problem is that when I do a drag on one this happens: How can I refresh the frame to happear its color when the panel is no longer there? This is the code that I have to make the drag: def onMouseMove(self, event): (self.pointWidth, self.pointHeight) = event.GetPositio...