I am accessing a link on my site that will provide a new image each time it is accessed.
The issue I am running into is that if i try to load the image in the back ground and then update the one on the page I only get the same image.
If i refresh the entire page then the image is updated.
var newImage = new Image();
newImage.src = "ht...
I have been asked to write c# winforms app that will give users the ability to select options from a checkbox list and have it automatically redraw/repaint a toolstrip with the selected items.
I am new to winforms so I am not sure how to approach it. Should I be using the BackgroundWorker Process? Invalidate()?
Just alittle confused....
I am trying to learn a bit of Ruby. I've installed Ruby on my Ubuntu machine and I am using apache. Everything works fine except to refresh a view I have to restart apache in the console and then hit ctrl-r, just pressing ctrl-r won't refresh the browser.
Apparently there's some caching going on, but does it have to be that way i.e. is ...
I'm rewriting its XML itemSource on the fly and want it to use the new data right away...
...
I am using a datagrid. It has itemEditor components, combo boxes, etc. as aprt of columns.
Ideally datagrid.invalidateList() method works to reload the datagrid with new dataProvider data.
But, for me it is appending to the old data and new data gets added below the older data. I am not able to fix this reload of datagrid.
...
Since I've finally got an answer for this question: Can you send a signal to windows explorer to make it refresh the systray icons, that asks about getting rid of dead systray icons, I would like to ask for the opposite.
Is there a way to "nudge" an application to re-show it's systray icon if it has been lost?
It happens to my Apache ...
I have a background thread updating an array. At timed intervals I call myDataGrid.Items.Refresh(). However nothing changes on the screen. But when I for instance click on the column heading of the data grid on the screen the information is actualized immediately.
I like to see the changes on the screen at timed intervals, for instanc...
i have a web form with a detail and a list view on it, the user fill the data in the fields of the detail view presses the "save" button, and everything is ok for the moment,
but
if he is pressing F5 after this operation a new record is going to be inserted in the DB, cuz the postback is repeated
anybody knows how this could be avoided ?...
Is there a way to detect page refresh without using viewstate in asp.net webforms ? I was wondering if it was at all even possible since asp.net mvc doesn't use viewstate for example.
I am trying to avoid using viewstate alltogether to keep my page size small.
...
Hi
Is there a way to refresh the display of only a specified range of cells from VBA, when ScreenUpdating = False?
What I mean is the following:
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Range("A1").Calculate
Range("A1").SomeFunctionThatRefreshesThis
...
Karl
...
Hi all,
I'm using YUI 3 to let someone click "Select All" or "Select None" and then have the selectbox select all the items or unselect all of them, respectively. Here's my code:
// This selects all
Y.on('click',function (e) {
selectBoxNode.get("options").each(function () {
this.removeAttribute('selected'...
I have a seemingly simple question, but can't find the answer. I have a webpage, which may have resulted from a POST request and may have an anchor (#) in the URL. I want to reload this page as a GET request in JavaScript. So it's similar to this question, but I actually want to avoid the POST, not just the warning about it.
So, for exa...
Hello,
Does anyone know why my ListView with following Code is not working?
I checked it out with Snoop and the ItemsSource seems to be fine (and when I start Snoop, the ListView displays me the MyViewModel.MyCollection, but when debugging with Visual Studio it shows me nothing?)
Thank you!
PS: MainWindow.xaml.cs has the DataContext = ...
Hi All,
I am trying to modify the controls of a Panel, have it update, then continue on with code execution. The problem seems to be that the Panel is waiting for Idle before it will refresh itself. I've tried refresh of course as well as GetSizer().Layout() and even sent a resize event to the frame using the SendSizeEvent() method, b...
Hi.
Is there any way how to do
ICollectionView.Refresh()
or
CollectionViewSource.GetDefaultView(args.NewValue).Refresh();
in a separate thread?
I know I can use dispatcher, but this collection is binded to a ListView and it throws cross thread Exceptions.
The reason why I need a second thread is, that I have Control which dis...
Is there anyway for me to make it work so anyone who presses F5 or any refresh button will be moved to a different page, instead of it refreshing the page the user wants?
Something like :
If (refresh){
goto "link to hopme page"
}
If not is there anyway for me to not allow refreshing on a certain page?
I have some people that ar...
I have a javascript snippet that forces a page reload using .reload(true) once someone clicks on a particular link. How can I show a simple "loading" image while the page refresh is taking place?
(Already using jquery on the page if that helps)
...
Hello, I am making a portal page for a project, and a div contained is refreshed every 1000 seconds.
The problem I am having though, is that the content that is being pulled in is always cached, so refreshing has no effect, the user has to do a hard refresh.
This only occurs in Internet Explorer
Here's the javascript code I used to re...
After adding a ribbon item, or calling a method that updates an item, the ribbon does not refresh correctly. Sometimes it's OK after resizing the window but most of the time the panel is in a collapsed state.
I tried all the functions I could think of, ReposPanels, RecalcWidths, RecalcLayout etc etc but nothing worked...
...
Exe made in vb6 will hang if its continously run on server? This exe has winsock component which is used to received data from biometric readers and saved in sql server 2005. Actually this shows real time list for acceess made on biometric readers means in this exe we have used datagrid component which display saved records in sql. How t...