Author: Tales from the Evil Empire : ASP.NET | Posted on: 12/10/2008 12:33:57 AM | Views : 763

Apparently Brian likes our declarative syntax. And jQuery . And he did something quite fun with them, something we had clearly not anticipated: using Microsoft Ajax?s new declarative syntax to call jQuery plug-ins instead of Microsoft Ajax behaviors as was the original intent. < input type ="text" maxlength ="20" size ="40" sys : key =?self? sys : attach =?wajbar? wajbar : submit =?{{ $ ( self ) .next ( ?input : submit? ) }} ? /> The way he made that possible is by adding a registration step to make the plug-in accessible through sys:attach. This registration API actually creates a wrapper behavior for the plug-in that gets Microsoft Ajax to believe the plug-in is a regular behavior. The actual plug-in gets...(read more) ...

Go to the complete details ...