Saturday, October 28, 2006

Code Samples - Extended Attachment Placeholder Control

An extension of the SingleAttachmentPlaceholder control afforing more control of Presentation Mode rendering.
The SingleAttachmentPlaceholder Control that ships with MCMS 2002 is a great way to include links to binary files on your site. However the Presentation Mode rendering of the control, especially when using the MustUseGeneratedIcon property leaves much to be desired. This control avoids the cost of dynamic rendering of icons, allows for full transparency in icons, more precise rendering control and the addition of a target attribute to open the link in a different frame or new window.

No comments: