I have a RadioButton in a TemplateColumn of a DataGrid. Each RadioButton is part of the same group to make sure that only one is selected and they are set to AutoPostBack.
What I would like to do is trap the OnCheckedChange event and handle it like a button click within the DataGrid (using the OnItemCommand event handler).
Does anyone ...
I am migrated a site from asp to asp.net-mvc.
I was using a third party event calendar asp code. does anyone know of a good asp.net mvc event calendar where i see a month view and it will show events in the date cells.
...
I am dispatching events from a child to a parent swf. It was working properly, until I used a preloader swf to load the parent, then the parent stopped getting events from the child. I get this error now:
TypeError: Error #1034: Type Coercion failed: cannot convert com.company.events::MyCustomEvent@22494251 to com.company.events.MyCusto...
Which event is fired when I close a form with the X button?
I want the event that fires only when the X button is pressed; I know that there is a FormClosing event, but the problem is that it fires each time when form is closed...
It also fires when frm.close() executes, and I don't want that to happen.
...
Hello,
I've been looking into the Timer class (http://msdn.microsoft.com/en-us/library/system.timers.timer.aspx), but the thing about the timer is, it's on going. Is there a way to stop it after one go? or after 5 go's?
Right now i am doing the following:
using System;
using System.Collections.Generic;
using System.Linq;
using System...
I'm working on a WPF 3.5 app and attempting to add multi-touch to a some older Windows Forms content (Flash ocx control). I expected to be able to throw a WindowsFormsHost control on a WPF Window, call CaptureStylus() on the WPF Window and then intercept all Stylus events before they made it down to the WindowsFormsHost. However, any t...
I have an object Order with a simple event,
Public Event ErrorOccurred(ByVal msg As String)
that I raise in the constructor like so when an order cannot be found (along w/setting a boolean error flag:
RaiseEvent ErrorOccurred("This order does not exist in the database.")
[Error] = True
I have a webform subscribed to the order's Er...
Basically I want to develop a BHO that validates certain fields on a form and auto-places disposable e-mails in the appropriate fields (more for my own knowledge). So in the DOCUMENTCOMPLETE event I have this:
for(long i = 0; i < *len; i++)
{
VARIANT* name = new VARIANT();
name->vt = VT_I4;
name->intVal = i;
VARIANT* id ...
Is there an event fired when screensaver starts? Like for keychain locking:
OSStatus keychain_locked(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void *context){...}
...
Is there any standard way to route all Key events from the control A to other control B? I wish that the keyboard focus will still be on A however the event handler of A would trigger the all event handlers of B for the key events.
edit: Clarification: calling a specific event handler I wrote for B is not enough. I need to mimic the act...
I'm looking for an updated answer to this question.
It seems that Event.observers is no longer used (perhaps to avoid memory leaks) in Prototype 1.6+, so how do I track down now what event listeners are attached to an element?
I know Firebug has a "break on next" button, but there are several mouse listeners on the body element that e...
PROBLEM:
I have a custom class named BlinkingLight.
I also have a static ObservableCollection BlinkingLightCollection.
In the UI, I have a ListBox that is bound to BlinkingLightCollection.
In my ListBox I want to essentially display each BlinkingLight object as a custom control that looks like box with an LED light that has an animatio...
i need to update items around an edit box when it changes size.
TEdit has no OnResize event.
An edit box can resize at various times, e.g.:
changing width/height in code
form scaled for DPI scaling
font changed
And i'm sure others i don't know about.
i need a single event to know when an edit box has changed its size. Is there a W...
Here's the scenario:
I have the following user control, the idea is that it's view model should be able to signal to the view that it needs to "Activate the Glow", thereby playing the Storyboard.
<UserControl x:Class="View.UnitView" ... >
...
<Storyboard x:Key="ActivateGlow">
...
</Storyboard>
...
<!-- INVALI...
I have an UpdatePanel and in it a regular Panel. In the Panel I dynamically add simple UserControls. The Usercontrol has a Button and a Label. When I click on a button in a control it removes all controls in the Panel which I have added dynamically.
Can anyone help?
int controlID = 0;
List<Control> cc = new List<Control>();
...
Note: I'm not talking about the names of event handlers. I'm talking about the names of the events themselves.
I tend to name events such that they describe what happened just before the event was raised. Adjectives tend to dominate this convention (CLICKED, SAVED, CHANGED, LOADED, etc).
Some competent peers have recently exposed me ...
I have a form with a few input fields. When a user clicks on an input field, a hidden div appears with some selections for that field, they can then choose an option, and this set as the field value.
Currently, the way the div gets hidden is when the user selects an option. This works fine, but what if a user does not want to select...
One of our users has sent in a log for our .NET Winforms application that indicates that the Activated event is occurring before the Load event. I didn't think this was possible and have coded with the assumption that Load would always happen before Activated.
Has anyone else observed Activated occurring before Load?
If so, why and ...
Assuming the following pattern:
someObjectInstance.addEventListener(MyDisplayObject.EVENT_CONSTANT, _handleMyEvent);
private function _handleMyEvent( event:Event = null ):void
{
// Event handler logic...
}
If I wanted to add a required parameter to the handler function am I able to do this and still use a "generic" event and event...
I have this weird problem when putting textboxes on the page in reverse. The whole event system is messed up. Changing one textbox fires TextChange on all textboxes. I can fix this by putting the controls in a list first and then call add while iterating trough the list in reverse. But i just want to know why this fails. Heres some code ...