reload

NSOutlineView -- reloadItem:reloadChildren: crashing my application

Hi guys I am trying to reload a particular item in my outline view using reloadItem or reloaditem:reloadchildren function in NSoutlineView but its crashing my entire application. please can you tell me a workaround for this like I also tried to collapse that item and expand it again but it is not reloading that item and its children. R...

How do I make a table view redisplay

I've got a Navigation iPhone app and it's "second level" controller is currently a UIViewController whose Nib contains a UIView. I made space at the top of the UIView for a navigation bar and then I added a tool bar on the bottom, on which I put a refresh button, a label, and an activity indicator. Last, but not least, I put a table vi...

jquery tabs reload

I am trying to figure out how to load the tabs the way I want. Basically when someone visits my page I want it to create 2 tabs(which I have working). Now inside of each of those tabs I have a widget that is put there through embed code (which is working fine). However, when I switch from one tab to another it is reloading the data in ea...

python refresh/reload

This is a very basic question - but I haven't been able to find an answer by searching online. I am using python to control ArcGIS, and I have a simple python script, that calls some pre-written code. However, when I make a change to the pre-written code, it does not appear to result in any change. I import this module, and have tried ...

my layout breaks in IE7 and javascript page reloads make the screen blink

My layout breaks if I change the window size in IE7/AOL, so I added a simple javascript function that fires on window.onresize, but no matter how I change the location I get problems. It was suggested I post a link and here it is: link text I already use PHP to detect browser and include an IE7-only inline stylesheet (and for mobile b...

javascript reload and display message

Hi, I want to reload page after deleting a row from table, and then display message, below is the javascript code, if(action == 'delete'){ window.location.reload(true); //tried to set timeout here, no luck :( document.getElementById('messageSpan').innerHTML = "The value has been deleted."; } It seems that the reload function i...

best way redirect/reload pages in PHP

Hi, Whats the best way to reload/redirect a page in PHP which completly removes all history/cache? Which headers should I use? The page today: While clicking on a link, get-parameters is set and a script is running. When finished, I want to redriect and reload the page without the get-parameters. At first, it looks like nothing has h...

shift-reload in FF gives unexpected results

dear javascript mavins, I'm presenting a simple animation using img.src replace and the <canvas> tag. At present it's only expected to work in FireFox (FF 3.5.3, Mac OS X 10.5.5), so cross-browser compatibility isn't (yet) an issue. When the page is first loaded, or loaded into an new window or tab, all seems to work as expected, and t...

How to force a page to reload if all what was changed in url is hash?

I am trying to reload current page with different url hash, but it doesn't work as expected. (Clarification how I want it to work: Reload the page and then scroll to the new hash.) Approach #1: window.location.hash = "#" + newhash; Only scrolls to this anchor without reloading the page. Approach #2: window.location.hash = "#" + ne...

UITableView selection hightlighted even after tableView reloadData

I am new to iPhone SDK. I have a UIScrollView and a UITableView on it. The UITableView has 4 cells. I use UIPageControl for pagination. When user selects, the cell gets highlighted and when the user scrolls to the next page the cell stays highlighted. I tried [tableView reloadData] and after the call I could still see the selected row...

jQuery galleria plugin with dynamically loaded images

I'm using the Galleria plugin with jQuery to create my image gallery. I'm trying to get load images dynamically from the user's selection into the DOM and have the gallery auto-update to display those new images but it's not working. Firebug shows the images are successfully loading into the DOM but Galleria displays no thumbnails. I ne...

ObjectContext.Refresh() ???

How to update ALL the dirty entities from the data store, and reset their changed values to the original store value? The method ObjectContext.Refresh requires as a parameter the entities to be refreshed. ...

javascript reload

Is it possible to use javascript:location.reload(true) as a action= for a form without having the browser say "In order to reload this page, information must be resent" or something similar to that? Form action is currently being handled by onsubmit= instead. ...

Prevent Iframe reloading on post back

Hi all, I have a webpage with one iframe and a button. On Page Load event, if (!Page.IsPostBack) { string sDocUrl = //some doucmen url Iframe1.Attributes["src"] = sDocUrl; } When the page is reloaded (by clicking a button), this iframe is being reloaded too. This iframe has a static data and doesn't need to be reloaded everytime when...

Image on uitableview lost after scrolling

in my application, i'm loading images to the cells of a table. But, when i scroll the table, the image goes out of sight of the table(goes up), it wont be there even if i scroll back. customCell.h #import <UIKit/UIKit.h> @interface CustomCell : UITableViewCell<UINavigationControllerDelegate, UIImagePickerControllerDelegate> { UIViewCon...

iframe don't reload at page refresh

is there any way to div or iframe don't reload at page refresh ...

Split up a mysqldump file with multiple databases, by database

Hello, I have a mysqldump file of multiple databases (5). One of the database takes a very long time to load, is there a way to either split the mysqldump file by database, or just tell mysql to load only one of the specified databases? Manish ...

Change MySQL innodb_buffer_pool_size at runtime?

This may be a dumb question, but is it possible to change the MySQL configuration options such as innodb_buffer_pool_size at runtime? Or, equivalently, is there a way to reload MySQL without closing existing connections or refusing new connections (like you can do with Apache)? Linux_32 (2.6.26) + MySQL 5.0.24a ...

Imports with Pydev/Eclipse

I'm working with the interactive console in eclipse, and reload does not show updated functions in my code. My code was : def func1(): return 1 def func2(): return 2 but when I changed it to def afunc1(): return 1 def func2(): return 2 def func1(): return 3 and ran imp.reload(TestMod), I go...

Change hash without reload in jquery

Hello, I have the following code:- $('ul.questions li a').click(function(event) { $('.tab').hide(); $($(this).attr('href')).fadeIn('slow'); event.preventDefault(); window.location.hash = $(this).attr('href'); }); This simply fades a div in based on when you click but i want the page url hash tag to change when you click so people...