Element behaviors
For a while now I've been coding away on a fairly hairy DHTML/JavaScript project. The project is basically a browser-based image viewing and annotation UI. So far I've mostly been working in straight-up JavaScript, with the server component wrapped into an ASP.NET Server Control.
Today I started taking a hard look at element behaviors in IE (aka viewlink behaviors). At first, it seemed like a very promising route. Basically I'm writing JavaScript that boils down to a client-side "control", and wrapping that up in a custom element would have been pretty nice. After a few hours of poking and prodding and experimenting, I ran across the catch. It seems that element behaviors can't participate in form postback - any form fields contained in the custom element don't show up in the form fields back at the server. People have hacked around this limitation by using a hidden form fields on the parent form, then copying the element's field values to the parent's hidden fields. That's workable for simple behaviors with just a couple of fields, but it would have been too complicated in my case.
So now I'm back to good ol' basic JavaScript. It's a shame when otherwise very cool and promising technology is rendered unusable because of a simple limitation like that. Incidentally, I didn't find this limitation anywhere in the documentation - only in a couple technical articles that I ran across during my research.