Control that can be used to select a group type and then a group of that group type
Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
Exemplo n.º 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 )
 {
     GroupTypeGroupPicker editControl = new GroupTypeGroupPicker { ID = id };
     editControl.GroupControlLabel = "Root Group";
     return editControl;
 }
 /// <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 )
 {
     GroupTypeGroupPicker editControl = new GroupTypeGroupPicker { ID = id };
     if ( configurationValues != null )
     {
         editControl.GroupControlLabel = configurationValues[CONFIG_GROUP_PICKER_LABEL].Value;
     }
      
     return editControl;
 }