events

ClientScript.RegisterClientScriptBlock not rendering output when called from Button_Click

I have a Button_Click event ultimately calling ClientScript.RegisterClientScriptBlock, yet when the button is clicked and the source of the response is viewed - no script block has been outputted to the stream. Is there any obvious reasons why this could happen? I will provide further info if needed. Cheers INFO Nothing AJAX just...

Complete example of wxwidgets custom event passing string data

I am receiving messages from the network on a non-GUI thread and need to use wxEvtHandler::AddPendingEvent to tell the GUI to update accordingly. I also need to pass data to my GUI code so that it can act apropriately. I believe I have to create a custom event, but haven't found a straightforward implementation. This closest thing that ...

generic timed event viewer/visualization

My application generates a bunch of events at different moments. Events have a timestamp, a duration, a type (error/warning/normal), a description, etc. Is there any application which can take in data (probably from xml files) containing this type of event information, and displays in in a table, with search range by date, etc? ...

How to create a TFS 2010 SendEmailNotification handler

So I have recently moved my email to google apps and now require smtp authentication to send email from TFS. Lo and behold: TFS doesn't support this feature. As a workaround I tried setting up an SMTP relay on my TFS server but couldn't get it to work. I figured instead I'd create a TFS event handler which could react to the event whi...

Is there a TextWriter child class that fires event if text is written?

I have written a method that accepts a TextWriter as an argument (Usually Console.Out, but not necessarily). When I call this method, some progress info is written to the TextWriter. However, since this method can run a long time, I want to update my UI with some status information. Currently, I am using a StringWriter but it does not ...

itemStateChanged on JButton

I read that a JButton implements ItemSelectable and into documentation it has the method addItemListener so I can argue that it can generate an ItemEvent... but when I register with a JButton (but also for a JMenuItem) that interface the event is not rised? Why? I understand that if into docs is reported that a component has an add.......

How to add a click event to p elements in iframe (using jQuery)

How to add a click event to <p> elements in iframe (using jQuery) <iframe frameborder="0" id="oframe" src="iframe.html" width="100%" name="oframe"> ...

Is there any event for re-focus the page of browser?

I left the page or browser for a while and come back to the page after a while. Is there any event for the re-focus? ...

Facebook API get events CREATED BY friends

Hi! I am developing facebook app which needs to retrieve events created by some of my friends. Standard SQL query would look like this: NSString *fql1 = @"SELECT " @"eid, name, tagline, id, pic_small,host, description, start_time, creator " @"FROM " @"event " @"WHERE " @"creator = 1111111111 OR creator = 2222222222 OR creator = 33...

Dotnetzip, Event Handler not Fired after Save

Hi, I have a small problem, which might me a stupid mistake on my side. Here is my code to create a zipfile when needed and the method to add a file to the archive. Adding a file works without problem but for some reason the Event is not fired after saving. I set a breakpoint at zipFile_SaveProgress, the event is not fired. class C...

How can I ignore any KeyListeners that may have been added by client programs when certain conditions are met?

I haven't had any luck with the web as far as this is concerned, the closest I've come is to read up on the EventQueue, but I can't seem to find a way remove an event by default. I've overloaded a JTextField so that it displays the remaining characters in a "guessed" word (part of an auto complete component) and when "Enter" is pressed ...

Subscribing to TFSEventService with WCF (2010).

Has anyone created a WCF service that subscribes to the TFSEventService and listens for the WorkItemChangedEvent? There are a couple SO questions I found regarding this but from the small bit of info I could find it seems that 2010 might be slightly different and these two SO questions are from 2009 (1537302 and 1891773) so not sure if ...

How to draw a single line using MouseMove Event

Hi guys, I'm trying to draw a single line using OnMouseMove() event. My Problem is that everytime I move the mouse It leaves a trail. I tried to use the refresh method, but when I stop moving the mouse the line is gone. I don't want the line to be drawn OnPaint();, Just want to draw it OnMouseMove(). EDIT: I'm using a transparent pan...

How to make Connect not callback when reload page in YUI?

I found this a common issue, but it seems that there is no obvious solution after googling. In my page, some user action would trigger AJAX request. With YUI 2.X, the code is like below: Connect.asyncRequest("POST", url, { 'failure' : function() { alert('failed'); }, 'success': function() { doSuccess(); }, 'scope"...

Javascript - Cancel onload event

var town_imgs = $('.town_img img'); var container; var imggg town_imgs.hover(function(){ container = $('<div class="town_img_thmb">' +'<span class="thmb_container ajax2"></span>' +'</div>').appendTo($(this).parents('.town_wrapper').find('.thmb_wrapper')); var imggg = new Image...

How do I make the onFocus occur a single time?

How do I make for this onFocus to occur just 1 time (not as now that is blocking the windows with dialogs)? <html> <form name="myForm"> <input type="button" value="Big Button" name="myButton" onFocus="alert('Focus event occured')"> </form> </html> update: sorry, when I say "a s...

AdvancedDataGridEvent - Why do certain properties of the event come back null?

Hi gang, Yet another woe with the AdvancedDataGrid - this time, with the AdvancedDataGridEvent. It seems that when listening to the ITEM_EDIT_END event, several of the event properties are returned null. I've been getting null for event.column, event.item, etc. Has anyone experienced this before? If so, did you find a way to resolve...

fullCalendar finding addtional events in the same day?

I need to detect other events in the same day. What I hope to be able to do, is find if an event of eventClass X exists in the same day as a dropped event of eventClass Y. If not it would warn the user, that an eventClass X does not exist, else allow the user to drop the event. Is this possible? ...

jQuery event for html change in a div element?

Long story short - I have an editable <div> and I want to clear formatting when someone pastes something in. Since jQuery has no control over the clipboard and I don't want to get into cross-browser compatibility, I figured I'd listen for an event that runs when the content changes. I've tried $("#mydiv").change() but obviously that onl...

Javascript/jQuery: Why is the focus event not firing on an input field?

Hi I'm trying to attach a simple focus/blur event listener via the .live() jQuery method to my inputs but what I'm noticing is that the focus event is not firing whereas the blur event is. Strange… was hoping you may have an idea of why this is happening. Here is the code: function rowHighlight() { var form = $('form.register'), ...