Control that can be used to select a group and role for a selected group type
Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl, IDisplayRequiredIndicator
Example #1
0
        /// <summary>
        /// Creates the control(s) necessary for prompting user for a new value
        /// </summary>
        /// <param name="configurationValues">The configuration values.</param>
        /// <param name="id"></param>
        /// <returns>
        /// The control
        /// </returns>
        public override System.Web.UI.Control EditControl( Dictionary<string, ConfigurationValue> configurationValues, string id )
        {
            GroupAndRolePicker editControl = new GroupAndRolePicker { ID = id };
            if ( configurationValues != null )
            {
                editControl.GroupControlLabel = configurationValues[CONFIG_GROUP_AND_ROLE_PICKER_LABEL].Value;
            }

            return editControl;
        }