refresh

automatically refresh datasource in different instances of windows forms C# application

I have different instances of an [.NET 3.5] C# win forms application that run on different machines. All instances use the same SQL 2005 db. I need to send an alert and to refresh grids [contained in user controls] when another instance of the application changes smth in db. Which is the best way ? Thank you very much. ...

flex/actionscript client entity state refresh on JPA update using Pimento EntityManager

My Flex application uses a client-side pimento EntityManager which fetches quite a few objects and associations. It does this by forcing eager fetching of particular association ends in the form of fetch plans. I would like to update the client whenever a change has been made to an entity existing in the EntityManager's cache. Is it poss...

value was "" blank when refreshing the page manually

Hi, I have a problem regarding the maintaining of value when page was refresh.I assign a value into a hidden control using javascript below: function displaytab(tabID) { var tabId = document.getElementById("ctl00_MainContent_tabId"); switch (tabID) { case 1: tabId.value=1; break; case 2: ...

How do I frequently refresh a specific web page using PHP?

I need a PHP script running on my server to frequently request a web page. I thought of using the PHP header function combined with a meta refresh tag, but that won't work because the header will redirect to the URL immediately, and the meta refresh will never execute. <?php header('Location: http://www.example.com/'); ?> <html> <META...

Auto-refresh a side-bar through a BrowserHelperObject when i get focus on a tab page.

I have a sidebar(iframe) that has its own instance on each tab you open. The thing is, the sidebar could be refreshed on tab 1 and not on tab 2. So i want to refresh the sidebar automatically when the user switch to another tab. Ex: user click on tab 2 and the BHO(BrowserHelperObject) refresh the sidebar right away. If anyone need precis...

How to refresh all pages in a frameset

Hi everyone ,, using php I would like to force the browser to refresh all pages -frams- in the frameset , as if the user had press F5 button. when I use header("Location: frameset.php"); it reload the whole frameset int one frame which had the action any help is Appreciated :) ...

How do you do a foursquare style uitableview refresh?

If you haven't seen their implementation Of the refresh of a tableview it is extremely slick. I was surprised to see no search results asking for this to be explained so I figured ask it myself. If you haven't seen it, it basically adds a subviews to the uitableview above the header to the blank part of the screen when you pull a uitabl...

Scroll Position on web with google map and ajax rating

my website is composed of google map and ajax rating component. everytime I vote any sections, the page will be refreshed and start at the top of the website without maintainig the current scroll position that I click 'vote'. What should I do ? I tried remove the tag which make scroll position effective. However, my website should ha...

Problem of Three20: How to refresh TTLauncherItem

After adding TTLauncherItem into TTLauncherView, I want to change the image and title for the added TTLauncherItem。 But when I changed the value of image and title, it was not working. There is no change on the view. Exit the program, and enter again, the image and title was changed. How can I refresh image and title of TTLauncherItem...

WPF Delay Refresh of UI Elements in ItemsControl

Hello All, The short question is - how can I prevent (delay) a bound UI element from refreshing until I want it to? The longer explanation: I have a process that adds a number of items to an ItemsControl, and then performs some additional calculations on those items using a background thread. This (correctly) updates the items as it g...

NHibernate: miss data on refresh

I have a problem with entity refreshing in NHibernate. I have an entity with IList property; this property is mapped with "list" tag on hbm mapping file. Now, on maintenance window if I remove some elements from the list (without saving) and then I call NHibernate refresh to restore changes the list items, that previously I removed, ar...

WCF web.config is getting overwritten after every compilation?

Hi I have a Silverlight application calling a WCF service. SimplehttpBinding stuff. Every I make changes to silverlight xaml code, the web.config gets refrshed also. Even if make any changes to web.cofig file, they get overwritten too. Its as if, some other process is writing these files. Why is that happening? How can I make sure t...

treeview loses data when page is being refreshed in asp.net

Hi, I have a treeview and I written a code for his "treeNodePopulate" event: protected void ycActiveTree_TreeNodePopulate(object sender, TreeNodeEventArgs e) { if (Application["idList"] != null && e.Node.Depth == 0) { string[] words = ((String)Application["idList"]).Split(' '); // Yellow Card details ...

reloading app.config after writing

Hi, When I use this to write to my app.config file: Configuration config =ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings["Wachtwoord"].Value = "Test"; config.Save(); ConfigurationManager.RefreshSection("appSettings"); I can read it again. But when i close and restart the program, t...

use jquery to refresh div tab onclick?

I'm using tabs, but wondering if it's possible to "refresh" tab content onclick? ...

Sending data between forms without using .Show()

Lets say I have 2 forms. In Form1 I have a timer, which counts (count++) and in Form2 I have a text box (textBox1) which shows how much the timer has counted. Now I want to know how would I show the integer 'count' in 'textBox1' without any user interference (clicking buttons) or in other words, how would I make the data in the text box ...

How to stop Facebook from refreshing iframe content every second?

My very simple Facebook app (http://apps.facebook.com/gophoto_fb/) is loading in a canvas, and the entire app is then hosted on my real site (gophoto.com). All of the links within it take you around the real site (gophoto.com). For some strange reason (and only on IE8, not Chrome/Firefox), if you stay on that page, Facebook will be rel...

How do I disable the F5 refresh on the browser?

Preferably using JavaScript but would like to hear other ways too ...

Detect Browser Refresh vs. Form Submit in ASP.Net MVC 2

I have an ASP.Net questionnaire application that resubmits data to the same page, showing a different question each time. There are BACK and NEXT buttons to navigate between questions. I would like to detect when the form is submitted due to a browser refresh vs. one of the buttons being pressed. I came across a WebForms approach but ...

header problem in php refresh

hello i have this code : <?php session_start(); echo "".$_SESSION['eventnum'].""; $urlRefresh = "testremot.php"; header("Refresh: 5; URL=\"" . $urlRefresh . "\""); ?> but the header doesnt work and this warning appear when i try to run this code : Warning: Cannot modify header information - headers already sent by (output starte...