Always Get Better

Archive for September, 2008

CommandEventHandler Event Won’t Fire for Button in ASP.NET Custom Control

Wednesday, September 24th, 2008

Problem: I created a custom control with a dynamic button and attached an event handler to that button.  When I run the control, clicking the button causes a postback but the event is not fired.

Solution: Changed the class inheritance from WebControl to CompositeControl.  Re-compiled and it worked like a charm.

FlexBuilder: Flash for Programmers

Thursday, September 11th, 2008

Since I’m not a designer (an obvious conclusion anyone will reach after taking one look at the design of this site), I’ve never had much use for the Flash development environment, nor any real desire to learn it.

Adobe FlexBuilder 3 provides an integrated development environment (Eclipse, actually) that allows programmers to build Flash applications. I was pleasantly surprised to discover this software, and found its brand of MXML to be very familiar coming from an ASP.NET background.

Stay tuned for updates as I learn more about this software. Have you had any experience with it? I welcome comments and suggestions – what should we watch for when working with this software?