using System; using FastReport.Dialog; using static FastReport.Web.Constants; namespace FastReport.Web { public partial class Dialog { private void CheckBoxClick(CheckBoxControl cb, string data) { bool oldValue = cb.Checked; cb.Checked = data == "true"; cb.FilterData(); cb.OnClick(null); if (oldValue != cb.Checked) cb.OnCheckedChanged(EventArgs.Empty); } private string GetCheckBoxHtml(CheckBoxControl control) { string id = GetControlID(control); string html = $"" + $"" + $""; return html; } private string GetCheckBoxStyle(CheckBoxControl control) { return GetStandardStyle(control); } } }