Web Development Blog

Register a Client Script Block inside an Ajax Panel or Ajaxified Control

I have written a few custom user controls that are now being used inside ajax panels or ajaxified controls using the RadAjaxManager. It is aways tricky getting the javascript to work correctly. I have recently discovered a method I had overlooked. With the introduction of Atlas and MS Ajax extensions many user controls now are loaded inside of an ajax postback.

NHibernate SetResultTransformer and DTO

Lately I have been exploring NHibernate and ICriteria. NHibernate is great I would recommend it to anyone but often I find the documentation and examples are hard to follow. NHibernate SetResultTransformer combined with the generic list make returning a typed list from a complicated query really easy.

Firefox 3 and Flash SWF outline problem using SWFObject 2.1

For some time now I have been using SWFObject to load flash objects on my web pages, it works great to avoid the ‘click to activate’ problems that affect IE6, IE7 and Opera 9+. In IE the browser displays an outline around the flash object and a tooltip ‘Click to activate’