Example #1
0
        /// <summary>
        /// Sets the edit value from IEntity.Id value
        /// </summary>
        /// <param name="control">The control.</param>
        /// <param name="configurationValues">The configuration values.</param>
        /// <param name="id">The identifier.</param>
        public void SetEditValueFromEntityId(System.Web.UI.Control control, Dictionary <string, ConfigurationValue> configurationValues, int?id)
        {
            var itemGuid = new ContentChannelTypeService(new RockContext()).GetGuid(id ?? 0);

            SetEditValue(control, configurationValues, itemGuid?.ToString());
        }