Show user-friendly description instead of a field value in the grid for a selector

In many cases it will be more usable to display a user-friendly description instead of a field value in the grid for a selector. To do that, firstly you should add DescriptionField for the corresponding selector definition in your DAC, and then either add SelectorMode to the selector definition, or add DisplayMode property to the aspx. For example, before adding DisplayMode property, my grids contains just field values: After I add DisplayMode=”Text”, a DescriptionField value is displayed instead of field value: The other supported values of the DisplayMode property are “Hint” (the column cell contains the value-description pair of the field) and “Value” (default value, the column cell contains the… Read more

CategoriesUncategorized