here's a link to a KB article which explains how to do this in a custom layer.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=9851