events

Drag'n'Drop and Paste detection with contentEditable or designMode enabled

Does anyone of you know a cross browser working way to detect paste or drag'n'drop inserts into an editable html document (with designMode or contentEditable enabled). Detecting paste works as long as the user uses the Ctrl-V shortcut as it generated key events, but if you use the browsers Edit->Paste no events are generated it seems. ...

Flash Actionscript 3.0 FLVPlayback and VideoEvent.STATE_CHANGE Oddities

Hello all, This is my first post, but this question has racked my brain and Google's servers all night, so I thought I would pose the question here. Let me get started on the preliminaries of my problem so I can elaborate the issue. I know FLVPlayback is buggy but this seems like either a version problem or I might be in need of an upd...

Adobe Flex Flash Builder DataGrid dataProvider CollectionEvent.COLLECTION_CHANGE handler's access to DataGrid?

I've added an eventListener to the COLLECTION_CHANGE event that is fired when the grid is finished resorting the items in its dataProvider, after the user clicks on a column header: MyType (myDataGrid.dataProvider).addEventListener(CollectionEvent.COLLECTION_CHANGE, onDataGridResort); ... private function onDataGridResort(e:...

Allow jQuery to interface with elements called with .load() ?

Before i tried loading the content via the .load() jquery function, i had an overlay which had various elements which were targeted with events, such as a close button and some tabs, which worked great! I decided to keep my markup clean to load the overlay content with the .load() function which also works great, except the events that w...

Flex component communication

I use a popup loaded from different MXML file: private function showAddPopUp():void{ addPopUP = PopUpManager.createPopUp(this, add_popup, true); PopUpManager.centerPopUp(addPopUP); } That file is as follows (add_popus.mxml): <mx:VBox width="100%" height="100%" paddingLeft="5" paddingTop="5" paddingRight="...

Howto to receive shell events in a service

How do I get events about changed files, directories and media in a Windows service? ...

C# Language Design: explicit interface implementation of an event

Small question about C# language design :)) If I had an interface like this: interface IFoo { int Value { get; set; } } It's possible to explicitly implement such interface using C# 3.0 auto-implemented properties: sealed class Foo : IFoo { int IFoo.Value { get; set; } } But if I had an event in the interface: interface IFoo ...

Mouse moves too fast to capture events

this is related to: a previous question BUT the question is my code only fails when i move the mouse really really fast over and around the TableLayoutPanel. is it possible that C# or windows are reporting/triggering events out of order due to the fast mouse movement? if so, how do i correct it? thank you. i hope this is not consider...

Timer behaving strangely!

I am facing a strange behaviour for an .aspx page. I have DataList called MyDataList. I need to conditionally highlight the rows of the DataList, depending on an arbitrary value in the data, such as if a Date field is less then SomeDate. I am using an UpdatePanel, ScriptManager and a timer (all AJAX) to refresh MyDataList. protected v...

WordPress: Create a Dynamic Filter Showing Posts of Numeric Value

Working in WordPress here. As you may know, all of the typical solutions for displaying upcoming events in WordPress are awful, so I'm accomplishing it with simple custom fields. Each event the user will enter they will enter a Numeric date "YYYYMMDD". What I need to find out is how to code in PHP for the script to first get php:the...

Checking if iframe is ready to be written to

A 3rd party script on my web page creates an iframe. I need to know when this iframe is ready, so I can manipulate its DOM. I can think of a hacky approach: repeatedly try to modify the iFrame's DOM, and return success when a change we make sticks between two attempts. For this to work, I would prefer a property I can check on the ifram...

Catching SENS Events in .NET, no Guid Attributes

I'm following this article to registering SENS events via COM, but I think I'm missing something. I'm calling the SubscribeToEvents method the article says to write, like this: EventSystemRegistrar.SubscribeToEvents("ManagedSENS EventSubscriber", "ManagedSENS.SensLogonInterop", subscriptionViewerID, this, typeof(SensLogon)); which lea...

Subview Event handling in UITableViewCell

Hi Friends, I need to create a tableView with customized UITableViewCell that has three small buttons in their view. Is there any way by which I can trap the click events of Buttons as well as didSelectRow of TableView and decide what to do? Please help me. ...

GWT/Spring/Hibernate data change events and transactions

I'm working on an AJAX application using GWT, Spring and Hibernate. I'm keeping some configuration data on the client side, which is almost never changed, but when it is changed, I have to notify all clients about the changes via a data change event using GWTEventService. All of this is already working, but I noticed a problem concernin...

Convert IE event.button to W3C event.button

Hello, On mouse-down (and up) I need to check which mouse button has changed its state. This is pretty easy with the W3C model and even the old netscape way (event.which) but IE gives me a headache. I know that event.button in IE is a bitmask but the problem is that I can't find out which button was pressed from this bitmask. If IE give...

Get last clicked option in multiple select

On a page, I have a select (multiple) box with many options. Now I want to react on the last clicked item to display some data with ajax. As the "click" event on the option element does not work in IE, I currently use the "change" event. The problem is, that the "value" and the selectedIndex attribute point to the first selected item, ...

How does the GMail "Loading..." banner work?

Hello all, I am trying to replicate a feature of GMail in my own application. When changing folders in GMail, the display will stay on screen and a small loading banner will appear on the top of the site. This is desirable, since it prevents the screen from going all white and disturbing the users workflow on postback. I have tried to...

JQuery events mouseenter mousemove behaviour in IE

$(document).ready(function(){ $('#outer').mouseenter(function(){ console.log("mouse enter"); }); $('#outer').mousemove(function(){ console.log("mouse move"); }); }); <div style='width:800px;border:1px solid red' id="outer"> this is test </div> when mouse entered the div In firefox,chrome mouseenter event is gettin...

OnTaskChanged event being fired within ListenActivity, but not OnWorkflowItemChanged.

I'm monitoring for either Workflow Task Change Workflow Item Change OnApprovalTaskChanged is being fired, but not onWorkflowItemChanged. Is this a known issue and what could be a workaround? If i remove ListenActivity, onWorkflowItemChanged gets triggered! Here is part of my workflow: ...

Why is Page_Load not firing after coming back from another page using ASP.NET - ergo epic embarrassment :)

Let's say I have two pages on the same ASP.NET C# WebSite. Page1.aspx does things in the Page_Load event I navigate to Page2.aspx using the menu Page2.aspx does some things then Response.Redirect back to Page1.aspx Page1.aspx cannot do things in Page_Load event this time because it never fires. I tried to turn off cache declarativel...