refresh

Webbrowser control in silverlight does not refresh the pdf content in Adobe Reader 8 & 9

Hi, I hava a web browser control in my silverlight application to display pdf documents. The problem is the content does not get refreshed even after changing the source of the web browser control. The first pdf file that gets load is shown in place of all the other pdf links. The problem is weird since everything works perfectly fine w...

How to prevent android widget from getting stopped?

Hi, I'm trying to develop something like Digital Clock widget and I'm using http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf as tutorial (TimerTask part). Problem is, that after starting other app or locking screen widget stops updating. Currently I'm using this code and I have a feeling that something...

Do I have to close the browser in order to refresh my Java applet?

I am just learning Java applets. When I changed my code, it doesn't update if I refresh the page, but it does when I close the entire browser and open it again. I'm using eclipse as my IDE. Is there some setting I'm missing? Or is the only way to do it? ...

How to refresh a specific row in WPF DataGrid?

I know there is Row.Items.Refresh() which I assume will refresh the whole DataGrid. Is there a method to refresh a specific row only? ...

DOM refresh in Chrome

I do the following steps: I load a webpage that initiates an ajax call before the page is loaded. The pages is some time afterwards loaded. The ajax call finishes 5 seconds after the page is loaded and inserts a new element. 10 seconds after the page is loaded I want to change the colour of this new element. Is that possible? and ho...

Is it possible to refresh a portion of the ui table view without refresh other cells?

Hi friends, Is it possible to refresh some cells without refreshing other cells in a table view? I need to delete and insert and add some cells simultaneously. For that i want to refresh the table frequently. [self.tableView reloadData]; This code is used to refresh all the cells in table i think. I'm not sure about this. Because m...

How do i force a wpf window/control refresh of disabled elements

I was pulling out my hair trying to figure out why the normal Dispatcher.Invoke command did not work for redrawing my window, but now I the issue seems to be related to the content being disabled. I'm using the Dotnet 4.0 full framework. If i use private void DoSomething() { HandleBusyEnableDisable(false); DoSomethingThatKeepsItB...

DataGrid.ItemsSource.Refresh() not working

Hi I have a wpf form which contains a datagrid. I did put a button on my form to "Refresh" the datagrid. Steps I'm trying to get it to refresh: I update the viewsource from my db: SupportCaseViewSource.Source = SupportCaseManager.GetAllSupportCases(); I refresh the datagrid items: SupportCaseDataGrid.Items.Refresh(); But nothing ha...

EF4: How to Reload / Refresh an EntityCollection?

Using Entity Framework 4.0 in C# / .NET 4.0. Within my Entity model, I have an object (MyObject) that is part of a one-to-many relationship that produces a Navigation Property of the type EntityCollection<OtherObject>. Snippet of the generate code: public partial class MyObject : EntityObject { /* other code */ public EntityC...

Delphi 6 - Bitmap only updates when owner window requires a repaint when using the Graphics32 library

I have an application that creates 3D motion on a TPaintBox Canvas using native Delphi code. In the old code I rendered the 3D image to a temporary TBitmap on a Timer event. In the TPaintBox OnPaint() event I would BitBlt() the temporary TBitmap the TPaintBox's Canvas. This approach worked fine but the motion was jerky. Because I was...

Delphi 6 : Detect when a Form is fully painted?

Is there a simple and convenient way to tell when all the Components, Frames, and Child Controls on a TForm are fully painted? I'm basically looking for the equivalent of the onload() event found in web pages but in the context of Delphi forms. Preferably this technique would still work even if some form elements aren't currently visib...

hijack refresh key

Question How do you overwrite the refresh key with a custom javascript function? I use Prototype library, by the way. Why I have a video with user comments on the side. There is a button to only refresh the comments via a JS function updateComments(). During some user testing, some idiots refused to use that button to update the comme...

Meta Refresh To Relative File

Hi all, I'm making a web app and I'm checking for the presence of a configuration file to determine whether or not to run the installation script. However, since it is a web app, I have no idea at what URL this script will be stored. Is there any way to redirect a page, either using PHP or HTML, to a relative file? Thanks in advance! ...

Refresh variable into appdelegate

Hi I have a little problem, I write some methods for pass a variable to appdelegate, the code for pass the var is correct, if I put 1,2 or 3 the variable on appdelegate is 1,2 or 3, the problem is when I use another dynamic varbiable, this var depending on what button was clicked. I put an NSLog on the variable in appdelegate and I see t...

the extjs component refresh problem

Hi: I have serveral extjs components in my page, the chart, gird ,formPanel and ect, and now I meet some problems about the refresh of them, take the gridPanle for exmaple: This is the grid codes: var myStore=new Ext.data.JsonStore({ autoLoad:true, fields:['name','age'.....] }); var grid = new Ext.grid.GridPanel({ stroe:myStore...

silverlight 4 and Refresh Parent Window when Child Window closed

Hi All, In my SL4 App I have a Parent Page where I'm displaying a datagrid. I open the ChildWindow when the user selects a particular Row in the grid and clicks on Open button using the following code. cwEditProduct ChildWin = new cwEditProduct(productId); ChildWin.Closed += new EventHandler(ChildWin_Closed); ChildWin.Show(); and Whe...

Refresh iframe without refreshing the parent page

I have a page that constantly refreshes itself, I want to include the page into my main page. I am using an iframe to include the page to my main page, but every time the page in the iframe refreshes, it also refreshes my main page. How can I make the iframe refresh within its own frame and not affect my main page? Or is there a better...

jQuery - Launch URL In Same Window, Then Refresh

I'm using jQuery-UI's accordion plugin with hash tag navigation, but I'm running into a problem. Each page of my site has an accordion widget on it. The URLs in the second level of my main navigation menu are supposed to open the correct panel of the accordion using the accompanying hash tag, and they are written like so: <li class="lvl...

How do i start and stop application state in ASP.NET

What seems to be happening is on a request some values I have retrieved are being stored in application state, but when I make changes to the values, the old values are still in application state for a while before finally going. I want a way to refresh the application state on each request.? ...

android listview refresh problem

im getting a weird problem when refreshing my listview it works fine until the device is rotated and then when refreshing it again it goes completely blank. can only be fixed by rotating the device again (as it is also refreshed in onCreate()) but then whenever its refreshed again it goes blank. problem persists until app is restarted. ...