In the last post , I showed how you can instantiate multiple behaviors on a single input element, through server extenders or directly through client behaviors (which themselves can be created imperatively or declaratively). In this post, I want to show how to get a reference to these behaviors. Of course, the simplest is to grab that reference when you create the behavior and hold on to it until the next time you need it: var tb1EditInPlace = $create(Bleroy.Sample.EditInPlace, { cssClass: "editInPlace" }, {}, {}, $get( 'tb1' )); Now of course, the code that needs to use a reference might not be from the same source or area of responsibility as the one that created it. If you created the behavior through declarative markup...(read more) ...
Go to the complete details ...