Esempio n. 1
0
        /// <summary>
        /// Gets the filter value control.
        /// </summary>
        /// <param name="configurationValues">The configuration values.</param>
        /// <param name="id">The identifier.</param>
        /// <param name="required">if set to <c>true</c> [required].</param>
        /// <returns></returns>
        public override Control FilterValueControl(Dictionary <string, ConfigurationValue> configurationValues, string id, bool required)
        {
            var datePicker = new DatePicker();

            datePicker.ID = string.Format("{0}_dtPicker", id);
            datePicker.AddCssClass("js-filter-control");
            datePicker.DisplayCurrentOption = true;
            return(datePicker);
        }