@using System.Globalization @inherits DataFilterBaseComponent
@code { private void MonthCalendarChange(MonthCalendarControl dp, string value) { dp.SelectionStart = DateTime.ParseExact(value, "d", CultureInfo.InvariantCulture); } private void GetMonthCalendarHtml() { Control.FillData(); ControlFilterRefresh(); @* string selectedDate = control.SelectionStart.Month.ToString() + "/" + control.SelectionStart.Day.ToString() + "/" + control.SelectionStart.Year.ToString(); string ev = GetEvent(ONCHANGE, control, DIALOG, $"document.getElementById('{id}').value"); html.Append(String.Format("
", "", GetMonthCalendarStyle(control), ev, id )); html.Append(""); //control.FilterData(); return html.ToString();*@ } protected override string GetStyle => $"{GetControlPosition()} {GetControlFont()}"; }