From the monthly archives:

February 2009

Using jQuery Inside A DotNetNuke UpdatePanel

February 28, 2009

When using jQuery within an ASP.NET UpdatePanel, postbacks can cause jQuery to stop working. This can be further complicated if the UpdatePanel you are using is the UpdatePanel that is automatically added for when you use DotNetNuke’s partial rendering in your module. This post outlines a simple solution that is easy to implement and not only works for regular ASP.NET applications, also works within DotNetNuke.

Read the full article →

Adding Audit Capabilities to NHibernate Entities

February 16, 2009

NHibernate 2.0 brings many new features, including a new event / listener system that can be used for many kinds of cross-cutting concerns. One the capabilities is being able to register a listener that can automatically update fields on an entity for you as it is saved. Many business applications require that we track who last modified an entity, or when it was created etc. This new model makes it quite easy to do.

Read the full article →

Implementing Dirty Flags When Using DataBinding With NHibernate

February 12, 2009

A common feature of any reasonably well designed application is to notify a user if they are about to cancel or lose pending changes. This becomes more difficult if you are using databinding, and even more so if you are binding directly to your domain objects. This post illustrates an easy way to implement databinding with dirty flags while promoting loose coupling between your domain objects and your UI.

Read the full article →

WPF RichTextBox With Two Way DataBinding

February 8, 2009

This post contains sample code and implementation details for a sample WPF RichTextBox control with two way databinding to a string property on a domain entity.

Read the full article →