Handling Events

May 23, 2007 at 10:34 PM
Cool!

I followed the link from YUI In The Wild#2 to CodeProject to here. I did something similar with just one control, http://anthem.talloaksoftware.com/Extensions/AutoComplete.aspx. The code is in SourceForge (http://sourceforge.net/projects/anthem-dot-net).

To handle the client side events I was interested in, I just added a property to accept the function name. To handle the server side event (search) I added the event to the .NET control and call it via AJAX.

I like your framework for wrapping YUI controls quite a bit. If I get a chance, I will convert my wrapper to your format.
Coordinator
Aug 22, 2007 at 7:23 PM


afmiller wrote:
Cool!

I followed the link from YUI In The Wild#2 to CodeProject to here. I did something similar with just one control, http://anthem.talloaksoftware.com/Extensions/AutoComplete.aspx. The code is in SourceForge (http://sourceforge.net/projects/anthem-dot-net).

To handle the client side events I was interested in, I just added a property to accept the function name. To handle the server side event (search) I added the event to the .NET control and call it via AJAX.

I like your framework for wrapping YUI controls quite a bit. If I get a chance, I will convert my wrapper to your format.


Thanks, I still have to add support for functions as well as start to look at some of the new controls introduced in YUI version 2.3.