loaded

Silverlight: Is there an event that fires on a FrameworkElement before it is rendered?

In our Silverlight 2 project we have created an attached property to perform on-the-fly translation to text properties of various user controls. To achieve this, we hook the Loaded event of the FrameworkElement when the property is set. When the event fires, we take the existing text property value and perform some simple string substitu...

WPF ListboxItem loaded multiple times

I have a trigger on a storyboard for my listboxitem where the trigger is 'Loaded'. It appears that every time the listbox scrolls the item gets the 'Loaded' event. I really only want the storyboard to run once, when the listboxitem gets displayed. I assumed that the Loaded event would only get triggered once. Any help would be great. ...

How know when a winform is loaded by Process.Start?

I'm in a WindowsForm (c# .net 3.5) and on click of a button launch another external application (also .net 3.5) using Process.Start() and understand when it is available after i have launched it. ProcessStartInfo psInfo = new ProcessStartInfo(@"MyApplication.exe"); psInfo.RedirectStandardOutput = true; psInfo.RedirectStandardError =...

jquery acces content loaded via ajax call

i'm trying to write a jquery plugin that when i click on a image to pop an alert message. Those images are loaded via load() method. Is there possible to load the plugin on document ready and the plugin to have acces to the loaded content? i don't want to use a callback function, i just want to include the plugin in the html page and the...

[WPF]ItemsControl not completely loaded @Loaded event

Hi everyone I have a propably simple problem, that i just can't seem to figure out: I've made an ItemsControl which has its datacontext set and shows the data as pairs of Checkboxes and TextBlocs: <ItemsControl Name="listTaskTypes" Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" ItemsSource="{Binding}" Margin="10,0,0,0" VerticalAlignmen...

how can you tell when an Android activity is finished loading?

I'm in the process of working on an automated test suite for our android app, and running into trouble waiting for activities to fully load. I can call getActivity, but just because it shows the activity that I'm hoping to see in my test doesn't always seem to mean that the activity's components are ready for use (fully loaded). Lookin...

Where to put jQuery actions for extern loaded pages by UI tabs

Hello, I'm wondering where i should define my jQuerie actions for extern loaded pages by UI tabs. So for example, i've got an index.html page including 3 tabs. Onclick each tab wil load extern1.html, extern2.html, extern3.html. These 3 external pages need several jQuery actions (onload-actions, onclick-actions and more). When i put al...

Lightbox not working after external loaded page with images

Hello, I have implemented lightbox-plugin for jQuery of krewenki in a masterpage including all images. This was working fine. Till i put the images in a external page and load this external images page in the master document. Lightbox does not work anymore. Is this jQuery code fault, or is this a lightbox-plugin problem? Main-html <h...

Linux org.GNOME.Accessibility.JavaBridge$AccessQueue throws java.lang.ClassNotFoundException after the class has been previously loaded

I am running java with an agent. When my application does not use GUI (swing) it runs fine under both JREs mentioned below. When it does use GUI (swing), when using JRE: HotSpot (TM) 64 Bits Server VM (build 1.6.0-b105, mixed mode) it runs fine. But with JRE: /usr/lib/jvm/java-6-openjdk, it produces exception java.lang.NoClassDefFoun...

fade in all divs of a page. once the content of the divs is loaded

Sorry, Ill try simplify my question. Basically, when a user goes to a page...all the divs on the page and the content of the div fade in. Once loaded. I was thinking maybe something like: $(window).load(function(){ $('#div').load(function () { $(this).fadeIn(4000); }); }); cheers ...

WPF ItemsControl - how to know when the items finished loading, so that I can focus the first one?

Hi everyone, I have an ItemsControl in my View, that is bound to an ObservableCollection from ViewModel. The collection is filled, and afterwards an event from VM to view is raised (think search results and SearchFinished event). I would like to move keyboard focus to the first item in an ItemsControl, but when I do it in View's code-be...

Detect if images have loaded in a UIWebView?

Hey, I have a UIWebview that is loading an image. However I am trying to call a method when the image has completed loaded / rendered. I tried using UIWebViewDelgate and used, -(void)webViewDidFinishLoad:(UIWebView *)webView {} However this method is called before the image has loaded / rendered. How can I fix this. Any help would b...

Loader SWF Height and Width/Overflow Question- Simple banner Ad

I'm trying to create a simple banner ad where the mouse hovers over the button and a panel shows up over some content of the site. I have two different .swfs: the container, which is the button and a loaded swf that has the animation that comes up when the button is clicked. The button is only 183 x 40px where as the loaded swf is 183...

Dynamically loaded user control databound controls not tracking viewstate

I load a usercontrol dynamically to a page on click of a button. This user control has dropdown list which gets populated on load of the user control. When I select an item from this dropdown list a post back occurs and I reload the Usercontrol again at oninit of the page. The dropdown list is not populated and hence the selection index ...

jquery cluetip breaks when loaded more than once

I am using the jQuery cluetip plugin in a portal environment where there can be more than one instance of a portlet on a portal page. Each portlet is its own app, so it really knows nothing about the other portlets. Each portlet needs to use the cluetip plugin, so it is loading it when it needs it. The problem is that, when the cluetip s...

DataContextChanged of a Tab in a TabControl is raised too early

I have a TabControl binding to some items. Underneath it is a Button where I can add items dynamically. On adding an item, the new item should become the active Tab (works fine with TabControl.SelectedItem): <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml...

The xdebug extension is not loaded

Hi guys, I've got xdebug installed fine (showing up in phpinfo()) but I'm trying to get it to work with PHPUnit's code coverage functionality. It keeps telling me "The XDebug extension is not loaded". I've got phpunit working fine with WAMP. When i run php -m i don't see xdebug listed in neither php modules nor zend modules which point...