New Features

Release date : Friday, September 4, 2009
C1 version: Composite C1 1.2 SP2 (1.2.3534.23578)...
Description : A new widget for editing strings have been added to C1 - Composite.Widgets.String.Selector. The widget uses a 'selector' instead of a 'textbox' limiting the users options to predefined values. The data used for options can come from any C1 Function returning an IEnumerable. Typical return value types could be List<string>, string[], IEnumerable<XElement>, IDictionary or an IEnumerable with objects where named properties are used for key and label values.

Single and multi selection supported. The multi selector can run on both verbose mode (checkboxes) or compact mode (pop-up).

A simple source for options could be to use the function Composite.Utils.String.Split("Option A,Option B").

The widget is available on fields of type string and can be used for both Data fields and Function parameters.

New Features