refresh

WPF refresh TreeView when it loses the focus

Because of the changes I have done to my post I have thinked to open another thread. In the new thread I have posted my (provvisory) solution. You can find it here Hi! I have a problem with my TreeView in a WPF application (Framework 3.5 SP1). It's a TreeVIew with 2 Levels of Data. I expand / collapse the items of the first level in a p...

Refresh an iframe

How to refresh an iframe? For example: <iframe src="http://google.com"&gt;&lt;/iframe&gt; I click on "Videos" in this iframe ,then click on a button to refresh the iframe and I want when the iframe is refreshed ,to be on that "Videos" page. ...

WPF refresh TreeView when it loses the focus

Hi! I have a problem with my TreeView in a WPF application (Framework 3.5 SP1). It's a TreeVIew with 2 Levels of Data. I expand / collapse the items of the first level in a particular way (with a single mouse-click on the TreeViewItem). Again when I expand a first-level TreeViewItem, I add some second-level TreeViewItems to the group (it...

Asp.Net MVC Ajax refresh of table contents

Currently I have a table on my page which I need to refresh using Ajax. I was intending to render the table in a partial view and then just call an MVC render-partial update, which would have been nice and simple. However, I've since added a bunch of sorting/filtering controls in the header of the table. I would now like to refresh the ...

How do i refresh my Twitter API every 15 seconds?

I was successful in installing the TWITTER API jquery script, but I can't figure out how to make the script refresh with the latest tweets without refreshing the entire page IN 15 SECOND INTERVALS. Is it possible to use a .load or refreshID to reload script? Can I also include a fade in and fade out when the function reloads? Anyone d...

Refreshing an entity throws an NHibernate.UnresolvableObjectException

Hello all, The entities and mappings I'm talking about in this question can be found here :) Here is the context: I have a parent view-model which helps to manage some entities, and which has its own session. From this VM, I open another view-model (with its own session too), do some changements to the entity (add and/or remove child...

java refreshing an array into jList

OK so I have a JList and the content is provided with an array. I know how to add elements to an array but I want to know how to refresh a JList... or is it even possible? I tried Google. :\ import java.applet.Applet; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class bs extends JApplet implements MouseList...

Android: Auto Refresh Google Maps

Hi all, I want to ask about how to auto refresh the Google Maps? So i have an activity with radio button inside that user can choose about the interval of the auto refresh. Then I create a class with a map view with class that extends the CountDownTimer. The problem is MyCountDownTimer has a constructor that display it own interface. H...

Updating the styling of a WPF DataGrid and forcing a refresh

Hello, I'm using an IValueConverter in conjunction with DataTriggers (all in code, not XAML) to implement conditional styling for a WPF DataGrid (from codeplex.com). I have all the code in place, but when I update the styling (after obtaining some values from form elements) the datagrid does not update the display of the elements. I h...

Jquery/javascript detect and capture page refresh events?

I have an AJAXed page, but I also offer a query string to the user so that he/she may type in the query string to the url to see the same page again. (Think google maps and its "share link" feature). When the AJAX request occurs I update the query string presented to the user, but the actual URL does not change. The problem is, if a us...

Refreshing CRM Page Causes jQuery/Javascript Error

Ladies and gents, I have a CRM page which references 3 js files, (1x jQuery, 2x custom) all stored in the CRMInstall/isv/ folder. On the form OnLoad method, I am loading each one and then using it to extend/customise the UI. My inexperience with jQuery is obviously showing however! The OnLoad code is below: //jquery var url = "/isv/...

Is there a difference between an F5 browser refresh and postback??(asp.NET)

I am dynamically creating dragrids in different rows of an existing datagrid in asp.NET My generated datagrids have a column which is TemplateColumn (a CheckBox Column). In my parent datagrid, I have a template column with checkboxes. when I check or uncheck the value of the check box, the check_change method is called (autopostback is...

Refreshing Windows program when other users make changes?

Scenario: 4 users launch separate instances of the same client program (Winforms) that is connected to a database based To-Do list. The first user selects the 3rd To-Do list item. How do I update/refresh the other 3 users screens to reflect that item #3 is no longer available? My thought was a table that contains the last update d...

Ajax requests in a loop- refresh div after each request not working in IE8

Hi, I have a loop in which I'm making Ajax xmlhttp requests. This occurs within a function triggered by a window.onload event. The Ajax calls are being made with async=false, because they need to occur in a specific order that relies on each step completing before the next can occur. With each successive request in the loop, I'm updat...

Dynamically update wxPython staticText

Hi all, i was wondering how to update a StaticText dynamically in wxpython? I have a script that goes every five minutes and reads a status from a webpage, then prints using wxpython the status in a static input. How would i dynamically, every 5 minutes update the statictext to reflect the status? thanks alot -soule ...

how to refresh magento tier price cache after sql insert

Hi, I've imported new tier prices into the magento database using the sql shown below and when I view the product in the admin, the tiers are correct. However, on the front-end, the tiers are not displayed under I Save the product in the back-end. I've deleted the var/cache, rebuilt the Catalog Index, refreshed Inventory Stock Statu...

Scrollbar loses focus when datagridview refreshs its content.

my DataGridView refreshes after one second its content. the refresh is triggered via a thread/invoke. when i grab the scrollbar and the refresh starts i lose the focus and i have to regrab the scrollbar again. doing that every second is quite annoying. has anyone a hint how to do it that way i dont lose the focus? as a concrete example, ...

How to destroy cookies on page refresh

Hello I need to destroy javascript cookies on a page refresh. I need to set a new bunch of cookies on every page load which help me render the web page based on user options. Is there a method to destroy cookies on a page refresh?? ...

Excel Re-Apply all Workbook AutoFilters on Workbook_Open

I'm looking to update all of the auto filters on the Workbook_Open event, but not really sure where to begin and wondering if there is something as easy as refreshing the Pivot Tables which I had done with the. ThisWorkbook.RefreshAll ...

Ajax auto refresh & javascript

I have a page which reloads a DIV with AJAX every 5 seconds. I also have an AJAX sorting script (you can see it here). The sorting script works great when I visit the page for first time, but when the page is refreshed it doesn't work. Am I doing something wrong? I have the sorting script in the HEAD tag, and the refresh on the bottom b...